Files
void-packages/srcpkgs/mongodb/patches/fix-libressl-2.3.patch
2016-03-31 13:37:04 +02:00

58 lines
2.5 KiB
Diff

--- ./src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp 2016-03-31 13:04:25.438868316 +0200
+++ ./src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp.orig 2016-03-31 12:59:17.062891396 +0200
@@ -85,13 +85,13 @@ context::context(context::method m)
break;
#endif // defined(OPENSSL_NO_SSL2)
case context::sslv3:
- handle_ = ::SSL_CTX_new(::SSLv3_method());
+ handle_ = ::SSL_CTX_new(::SSLv23_method());
break;
case context::sslv3_client:
- handle_ = ::SSL_CTX_new(::SSLv3_client_method());
+ handle_ = ::SSL_CTX_new(::SSLv23_client_method());
break;
case context::sslv3_server:
- handle_ = ::SSL_CTX_new(::SSLv3_server_method());
+ handle_ = ::SSL_CTX_new(::SSLv23_server_method());
break;
case context::tlsv1:
handle_ = ::SSL_CTX_new(::TLSv1_method());
--- ./src/third_party/boost-1.56.0/boost/asio/ssl/old/detail/openssl_context_service.hpp 2016-03-31 13:04:25.439868316 +0200
+++ ./src/third_party/boost-1.56.0/boost/asio/ssl/old/detail/openssl_context_service.hpp.orig 2016-03-31 12:59:25.732890747 +0200
@@ -86,13 +86,13 @@ public:
break;
#endif // defined(OPENSSL_NO_SSL2)
case context_base::sslv3:
- impl = ::SSL_CTX_new(::SSLv3_method());
+ impl = ::SSL_CTX_new(::SSLv23_method());
break;
case context_base::sslv3_client:
- impl = ::SSL_CTX_new(::SSLv3_client_method());
+ impl = ::SSL_CTX_new(::SSLv23_client_method());
break;
case context_base::sslv3_server:
- impl = ::SSL_CTX_new(::SSLv3_server_method());
+ impl = ::SSL_CTX_new(::SSLv23_server_method());
break;
case context_base::tlsv1:
impl = ::SSL_CTX_new(::TLSv1_method());
--- ./src/third_party/boost-1.56.0/boost/asio/ssl/impl/context.ipp 2016-03-31 13:04:25.440868316 +0200
+++ ./src/third_party/boost-1.56.0/boost/asio/ssl/impl/context.ipp.orig 2016-03-31 12:59:31.745890297 +0200
@@ -88,13 +88,13 @@ context::context(context::method m)
break;
#endif // defined(OPENSSL_NO_SSL2)
case context::sslv3:
- handle_ = ::SSL_CTX_new(::SSLv3_method());
+ handle_ = ::SSL_CTX_new(::SSLv23_method());
break;
case context::sslv3_client:
- handle_ = ::SSL_CTX_new(::SSLv3_client_method());
+ handle_ = ::SSL_CTX_new(::SSLv23_client_method());
break;
case context::sslv3_server:
- handle_ = ::SSL_CTX_new(::SSLv3_server_method());
+ handle_ = ::SSL_CTX_new(::SSLv23_server_method());
break;
case context::tlsv1:
handle_ = ::SSL_CTX_new(::TLSv1_method());