centos build fix
Former-commit-id: 6fe4571bf959432127b8741c22d8264fd55969b8
This commit is contained in:
parent
9ba82f9083
commit
e7a72b4b2b
@ -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