You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
885 B
26 lines
885 B
7 years ago
|
--- boost_1_53_0.dist/boost/asio/ssl/impl/context.ipp 2012-12-30 15:17:13.000000000 -0800
|
||
|
+++ boost_1_53_0.dist/boost/asio/ssl/impl/context.ipp 2016-01-12 16:15:45.178958712 -0800
|
||
|
@@ -57,6 +57,14 @@
|
||
|
handle_ = ::SSL_CTX_new(::SSLv2_server_method());
|
||
|
break;
|
||
|
#endif // defined(OPENSSL_NO_SSL2)
|
||
|
+#if defined(OPENSSL_NO_SSL3)
|
||
|
+ case context::sslv3:
|
||
|
+ case context::sslv3_client:
|
||
|
+ case context::sslv3_server:
|
||
|
+ boost::asio::detail::throw_error(
|
||
|
+ boost::asio::error::invalid_argument, "context");
|
||
|
+ break;
|
||
|
+#else // defined(OPENSSL_NO_SSL3)
|
||
|
case context::sslv3:
|
||
|
handle_ = ::SSL_CTX_new(::SSLv3_method());
|
||
|
break;
|
||
|
@@ -66,6 +74,7 @@
|
||
|
case context::sslv3_server:
|
||
|
handle_ = ::SSL_CTX_new(::SSLv3_server_method());
|
||
|
break;
|
||
|
+#endif // defined(OPENSSL_NO_SSL3)
|
||
|
case context::tlsv1:
|
||
|
handle_ = ::SSL_CTX_new(::TLSv1_method());
|
||
|
break;
|