Blame SOURCES/opencryptoki-3.17.0-unlock-globmutex-if-user-and-group-check-fail.patch

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