703a367823
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16401 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
329 B
Diff
15 lines
329 B
Diff
--- a/ssl.c
|
|
+++ b/ssl.c
|
|
@@ -673,9 +673,11 @@ ssl_connection *new_ssl_connection(char
|
|
ssl->method = SSLv23_client_method();
|
|
break;
|
|
|
|
+#ifndef OPENSSL_NO_SSLV2
|
|
case SSL_VERSION_SSLV2:
|
|
ssl->method = SSLv2_client_method();
|
|
break;
|
|
+#endif
|
|
|
|
case SSL_VERSION_SSLV3:
|
|
ssl->method = SSLv3_client_method();
|