Testing to see if SSLv23_server_method() is actually the one we want
[citadel.git] / citadel / modules / crypto / serv_crypto.c
index 695ae4209740e3eda46ec1675b9e6837a2197a14..b0242796a87dc885984b54dd8f600359504cbbe6 100644 (file)
@@ -216,7 +216,7 @@ void bind_to_key_and_certificate(void) {
        SSL_CTX *old_ctx = NULL;
        SSL_CTX *new_ctx = NULL;
 
-       const SSL_METHOD *method = TLS_server_method();
+       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()));
                return;