diff options
Diffstat (limited to 'dev-libs/boost/files/boost-1.56.0-no-ssl3.patch')
-rw-r--r-- | dev-libs/boost/files/boost-1.56.0-no-ssl3.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-libs/boost/files/boost-1.56.0-no-ssl3.patch b/dev-libs/boost/files/boost-1.56.0-no-ssl3.patch deleted file mode 100644 index d182db7..0000000 --- a/dev-libs/boost/files/boost-1.56.0-no-ssl3.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- boost/asio/ssl/impl/context.ipp.orig 2014-07-28 06:32:26.000000000 +0000 -+++ boost/asio/ssl/impl/context.ipp 2015-12-27 07:01:33.717877523 +0000 -@@ -87,6 +87,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; -@@ -96,6 +104,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; ---- boost/asio/ssl/old/detail/openssl_context_service.hpp.orig 2014-07-28 06:32:26.000000000 +0900 -+++ boost/asio/ssl/old/detail/openssl_context_service.hpp 2015-12-27 07:03:55.384691141 +0900 -@@ -85,6 +85,13 @@ - impl = ::SSL_CTX_new(::SSLv2_server_method()); - break; - #endif // defined(OPENSSL_NO_SSL2) -+#if defined(OPENSSL_NO_SSL3) -+ case context_base::sslv3: -+ case context_base::sslv3_client: -+ case context_base::sslv3_server: -+ boost::asio::detail::throw_error(boost::asio::error::invalid_argument); -+ break; -+#else // defined(OPENSSL_NO_SSL3) - case context_base::sslv3: - impl = ::SSL_CTX_new(::SSLv3_method()); - break; -@@ -94,6 +101,7 @@ - case context_base::sslv3_server: - impl = ::SSL_CTX_new(::SSLv3_server_method()); - break; -+#endif // defined(OPENSSL_NO_SSL3) - case context_base::tlsv1: - impl = ::SSL_CTX_new(::TLSv1_method()); - break; |