deadlock fix

changes/58/8858/1
Richard Fuchs 12 years ago
parent 1bc0b9c267
commit 68e105fb9e

@ -375,7 +375,7 @@ static void cb_openssl_threadid(CRYPTO_THREADID *tid) {
}
static void cb_openssl_lock(int mode, int type, const char *file, int line) {
if ((type & CRYPTO_LOCK))
if ((mode & CRYPTO_LOCK))
mutex_lock(&openssl_locks[type]);
else
mutex_unlock(&openssl_locks[type]);

Loading…
Cancel
Save