Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
Former-commit-id: 366f8c2dc623c1bc441e34dcd81eacc82734f3ce
This commit is contained in:
commit
ed77c35b15
@ -129,7 +129,7 @@ static void initCryptoLocks(void) {
|
||||
return;
|
||||
}
|
||||
nlocks = CRYPTO_num_locks();
|
||||
openssl_locks = zmalloc(sizeof(*openssl_locks) * nlocks);
|
||||
openssl_locks = (pthread_mutex_t*)zmalloc(sizeof(*openssl_locks) * nlocks);
|
||||
for (i = 0; i < nlocks; i++) {
|
||||
pthread_mutex_init(openssl_locks + i, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user