Loading crypto/engine/hw_ncipher.c +3 −3 Original line number Diff line number Diff line Loading @@ -1059,14 +1059,14 @@ static int hwcrhk_mutex_init(HWCryptoHook_Mutex* mt, { mt->lockid = CRYPTO_get_new_dynlockid(); if (mt->lockid == 0) return -1; return 0; return 1; } static int hwcrhk_mutex_lock(HWCryptoHook_Mutex *mt) { CRYPTO_w_lock(mt->lockid); return 1; return 0; } void hwcrhk_mutex_unlock(HWCryptoHook_Mutex * mt) Loading Loading
crypto/engine/hw_ncipher.c +3 −3 Original line number Diff line number Diff line Loading @@ -1059,14 +1059,14 @@ static int hwcrhk_mutex_init(HWCryptoHook_Mutex* mt, { mt->lockid = CRYPTO_get_new_dynlockid(); if (mt->lockid == 0) return -1; return 0; return 1; } static int hwcrhk_mutex_lock(HWCryptoHook_Mutex *mt) { CRYPTO_w_lock(mt->lockid); return 1; return 0; } void hwcrhk_mutex_unlock(HWCryptoHook_Mutex * mt) Loading