summarylogtreecommitdiffstats
path: root/OPENSSL_NO_SSL3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'OPENSSL_NO_SSL3.patch')
-rw-r--r--OPENSSL_NO_SSL3.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/OPENSSL_NO_SSL3.patch b/OPENSSL_NO_SSL3.patch
deleted file mode 100644
index 58a60e2cf350..000000000000
--- a/OPENSSL_NO_SSL3.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- deps/asio/asio/include/asio/ssl/impl/context.ipp
-+++ deps/asio/asio/include/asio/ssl/impl/context.ipp
-@@ -89,6 +89,14 @@ context::context(context::method m)
- 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:
-+ asio::detail::throw_error(
-+ asio::error::invalid_argument, "context");
-+ break;
-+#else // defined(OPENSSL_NO_SSL3)
- case context::sslv3:
- handle_ = ::SSL_CTX_new(::SSLv3_method());
- break;
-@@ -98,6 +106,7 @@ context::context(context::method m)
- 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; \ No newline at end of file