Blob Blame History Raw
diff -up opencryptoki-3.17.0/usr/lib/api/api_interface.c.me opencryptoki-3.17.0/usr/lib/api/api_interface.c
--- opencryptoki-3.17.0/usr/lib/api/api_interface.c.me	2022-01-17 12:04:18.937010924 +0100
+++ opencryptoki-3.17.0/usr/lib/api/api_interface.c	2022-01-17 12:04:54.020182038 +0100
@@ -2869,7 +2869,7 @@ CK_RV C_Initialize(CK_VOID_PTR pVoid)
 
     rc = check_user_and_group();
     if (rc != CKR_OK)
-        return rc;
+        goto done;
 
     if (!Anchor) {
         Anchor = (API_Proc_Struct_t *) malloc(sizeof(API_Proc_Struct_t));