From: Art Cancro Date: Mon, 10 Jan 2022 21:37:57 +0000 (-0500) Subject: Testing to see if SSLv23_server_method() is actually the one we want X-Git-Tag: v948~4 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3e5deac478162f48344183c3541b1dae75ffa2aa Testing to see if SSLv23_server_method() is actually the one we want --- diff --git a/citadel/modules/crypto/serv_crypto.c b/citadel/modules/crypto/serv_crypto.c index 695ae4209..b0242796a 100644 --- a/citadel/modules/crypto/serv_crypto.c +++ b/citadel/modules/crypto/serv_crypto.c @@ -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;