From 062b6f786979790627f02174dda855b8c58c857c Mon Sep 17 00:00:00 2001 From: Aveen Ismail Date: Wed, 26 Apr 2023 11:26:31 +0200 Subject: [PATCH] PKCS11: meta_object: Fix compilation error --- pkcs11/tests/meta_object_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkcs11/tests/meta_object_test.c b/pkcs11/tests/meta_object_test.c index e91466f4..e0c3e170 100644 --- a/pkcs11/tests/meta_object_test.c +++ b/pkcs11/tests/meta_object_test.c @@ -357,7 +357,7 @@ static void test_secretkey_metadata(void) { printf("OK!\n"); } -static yh_session *get_device_session() { +static yh_session *get_device_session(void) { yh_connector *connector = NULL; yh_session *device_session = NULL; @@ -410,7 +410,7 @@ static void import_authkey(yh_session *device_session, uint16_t keyid, assert(yrc == YHR_SUCCESS); } -static void test_domain() { +static void test_domain(void) { char password2[] = "foobar123"; char p11_password2[] = "0002foobar123";