From 60634ba626d9f511c825de03dd7dddaec321dde1 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sun, 15 Nov 2015 20:24:48 +1100 Subject: Guard SSLv3_server_method with #ifndef OPENSSL_NO_SSL3 Related to https://github.com/wahern/cqueues/issues/113 --- src/openssl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-59-g8ed1b