diff --git a/server/reds.cpp b/server/reds.cpp index 5e9a129a..56b77095 100644 --- a/server/reds.cpp +++ b/server/reds.cpp @@ -2817,8 +2817,7 @@ static int reds_init_ssl(RedsState *reds) openssl_global_init(); /* Create our context*/ - /* SSLv23_method() handles TLSv1.x in addition to SSLv2/v3 */ - ssl_method = SSLv23_method(); + ssl_method = TLS_method(); reds->ctx = SSL_CTX_new(ssl_method); if (!reds->ctx) { spice_warning("Could not allocate new SSL context");