pthread_key_t ThreadSSL; /* Per-thread SSL context */
+void ssl_lock(int mode, int n, const char *file, int line);
+
static unsigned long id_callback(void)
{
return (unsigned long) pthread_self();
for (a = 0; a < CRYPTO_num_locks(); a++) {
SSLCritters[a] = malloc(sizeof(pthread_mutex_t));
if (!SSLCritters[a]) {
- syslog(LOG_EMERG,
+ syslog(LOG_ERR,
"citserver: can't allocate memory!!\n");
/** Nothing's been initialized, just die */
ShutDownWebcit();