commit | 2a25ec75d6889d32594a6f8b4d42962c15255d76 | [log] [tgz] |
---|---|---|
author | Steven Valdez <svaldez@google.com> | Tue Apr 18 16:50:14 2017 |
committer | Steven Valdez <svaldez@google.com> | Tue Apr 18 16:50:14 2017 |
tree | c6ea735bae5aa9927e2dee5f4161f1c3aa5156b4 | |
parent | 2e0f9503f3d4efe6fc3f70077f22471e83ffb446 [diff] |
Create SSL_CTX even when SSLv3 is disabled.
diff --git a/c/sslcontext.c b/c/sslcontext.c index 78ad316..2f42eb4 100644 --- a/c/sslcontext.c +++ b/c/sslcontext.c
@@ -156,7 +156,6 @@ } else if (protocol & SSL_PROTOCOL_TLSV1_1) { /* requested but not supported */ #endif -#ifndef OPENSSL_NO_SSL3 } else { if (mode == SSL_MODE_CLIENT) ctx = SSL_CTX_new(SSLv23_client_method()); @@ -164,7 +163,6 @@ ctx = SSL_CTX_new(SSLv23_server_method()); else ctx = SSL_CTX_new(SSLv23_method()); -#endif } if (!ctx) {