Change TLS_server_method() to SSLv23_server_method() because people are still using...
[citadel.git] / citadel / modules / crypto / serv_crypto.c
index a899be7c6cfc38f9d9f051c67b4eff23f7cc356b..f78c0cd856de5bbb1a15904151182be50abaa5b0 100644 (file)
@@ -220,7 +220,7 @@ void bind_to_key_and_certificate(void) {
 
        const SSL_METHOD *method = SSLv23_server_method();
        if (!method) {
-               syslog(LOG_ERR, "crypto: TLS_server_method() failed: %s", ERR_reason_error_string(ERR_get_error()));
+               syslog(LOG_ERR, "crypto: SSLv23_server_method() failed: %s", ERR_reason_error_string(ERR_get_error()));
                return;
        }