centos build fix
Former-commit-id: f17c492a633ea2be99567dfe2f8a59c0b0136d86
This commit is contained in:
parent
27cae3750c
commit
8e7765b626
@ -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