aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 9dbcda7..d0be29e 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -5422,9 +5422,11 @@ static int sx_new(lua_State *L) {
method = (srv)? &SSLv2_server_method : &SSLv2_client_method;
break;
#endif
+#ifndef OPENSSL_NO_SSL3
case 3: /* SSLv3 */
method = (srv)? &SSLv3_server_method : &SSLv3_client_method;
break;
+#endif
case 4: /* SSLv23 */
method = (srv)? &SSLv23_server_method : &SSLv23_client_method;
break;