]> code.citadel.org Git - citadel.git/blobdiff - webcit/crypto.c
Editing of account email addresses using the new server commands in WebCit-classic.
[citadel.git] / webcit / crypto.c
index f2752fd576ca1c321e05f2616074d94c9c837604..427b4d93e7268dadb52c5f97e25b746e30a4f809 100644 (file)
@@ -29,6 +29,8 @@ char *ssl_cipher_list = DEFAULT_SSL_CIPHER_LIST;
 
 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();
@@ -83,7 +85,7 @@ void init_ssl(void)
                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();