diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-08-28 20:33:32 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-30 06:55:48 +0700 |
commit | 37a587107264c6e8c79fe588c0ecbcc7d40b2777 (patch) | |
tree | 0a19368f1950837a7a43697073ffc0015a35ba18 /libraries/cpp-netlib/OPENSSL_NO_SSL3.patch | |
parent | 1f98fc11ee6df217ca0a2a7f3d11bfbf151b4366 (diff) |
libraries/cpp-netlib: Updated for version 0.13.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cpp-netlib/OPENSSL_NO_SSL3.patch')
-rw-r--r-- | libraries/cpp-netlib/OPENSSL_NO_SSL3.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch b/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch deleted file mode 100644 index 816097d2fc..0000000000 --- a/libraries/cpp-netlib/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; |