Testing to see if SSLv23_server_method() is actually the one we want
authorArt Cancro <ajc@citadel.org>
Mon, 10 Jan 2022 21:37:57 +0000 (16:37 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 10 Jan 2022 21:37:57 +0000 (16:37 -0500)
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;