X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_crypto.c;h=a8aba698697b61d096428f9e7a777f051cee31a0;hb=f154d097d062caf389d9fd5c096cf048d9f5724e;hp=b8d278a5e16e4b17b19368ad2b0ec834b9b70f99;hpb=73a422963bf40757c43f72877fc2f622f136ccd4;p=citadel.git diff --git a/citadel/serv_crypto.c b/citadel/serv_crypto.c index b8d278a5e..a8aba6986 100644 --- a/citadel/serv_crypto.c +++ b/citadel/serv_crypto.c @@ -108,7 +108,7 @@ void init_ssl(void) return; } SSLCritters = - mallok(CRYPTO_num_locks() * sizeof(pthread_mutex_t *)); + malloc(CRYPTO_num_locks() * sizeof(pthread_mutex_t *)); if (!SSLCritters) { lprintf(CTDL_EMERG, "citserver: can't allocate memory!!\n"); /* Nothing's been initialized, just die */ @@ -117,7 +117,7 @@ void init_ssl(void) int a; for (a = 0; a < CRYPTO_num_locks(); a++) { - SSLCritters[a] = mallok(sizeof(pthread_mutex_t)); + SSLCritters[a] = malloc(sizeof(pthread_mutex_t)); if (!SSLCritters[a]) { lprintf(CTDL_EMERG, "citserver: can't allocate memory!!\n");