aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@25thandClement.com> 2015-12-17 16:08:04 +0800
committerLibravatarLibravatar William Ahern <william@25thandClement.com> 2015-12-17 16:08:04 +0800
commit0c212adc7ee1f2ec2edb9111b4e4d3072839eeac (patch)
tree4f97056b74101114ea9be75c6d48e4909a881dab
parent0420baf6eb0106b146dd33d016cf8521cf017bed (diff)
parent60634ba626d9f511c825de03dd7dddaec321dde1 (diff)
downloadluaossl-0c212adc7ee1f2ec2edb9111b4e4d3072839eeac.tar.gz
luaossl-0c212adc7ee1f2ec2edb9111b4e4d3072839eeac.tar.bz2
luaossl-0c212adc7ee1f2ec2edb9111b4e4d3072839eeac.zip
Merge branch 'master' of git://github.com/daurnimator/luaossl into daurnimator-no-ssl3
-rw-r--r--src/openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index cb7470a..a5e1a52 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -5443,9 +5443,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;