summaryrefslogtreecommitdiff
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) {
5422 method = (srv)? &SSLv2_server_method : &SSLv2_client_method; 5422 method = (srv)? &SSLv2_server_method : &SSLv2_client_method;
5423 break; 5423 break;
5424#endif 5424#endif
5425#ifndef OPENSSL_NO_SSL3
5425 case 3: /* SSLv3 */ 5426 case 3: /* SSLv3 */
5426 method = (srv)? &SSLv3_server_method : &SSLv3_client_method; 5427 method = (srv)? &SSLv3_server_method : &SSLv3_client_method;
5427 break; 5428 break;
5429#endif
5428 case 4: /* SSLv23 */ 5430 case 4: /* SSLv23 */
5429 method = (srv)? &SSLv23_server_method : &SSLv23_client_method; 5431 method = (srv)? &SSLv23_server_method : &SSLv23_client_method;
5430 break; 5432 break;