diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-08 21:09:53 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-10 12:04:47 +0000 |
| commit | c032c529bfbdd551f1994133d6e765a5a71cb38c (patch) | |
| tree | 01451971ef3b633e695e766e6faf28bf6723c3ac /testing/asio/libressl.patch | |
| parent | 9c5236a439a8fe61cd16a6123de7044eed6c71cd (diff) | |
| download | aports-c032c529bfbdd551f1994133d6e765a5a71cb38c.tar.bz2 aports-c032c529bfbdd551f1994133d6e765a5a71cb38c.tar.xz | |
testing/asio: rebuild against libressl
Diffstat (limited to 'testing/asio/libressl.patch')
| -rw-r--r-- | testing/asio/libressl.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/asio/libressl.patch b/testing/asio/libressl.patch new file mode 100644 index 0000000000..c62f5230ad --- /dev/null +++ b/testing/asio/libressl.patch @@ -0,0 +1,27 @@ +diff --git a/include/asio/ssl/impl/context.ipp b/include/asio/ssl/impl/context.ipp +index 4a66a0a..dfa6cee 100644 +--- a/include/asio/ssl/impl/context.ipp ++++ b/include/asio/ssl/impl/context.ipp +@@ -88,6 +88,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 + case context::sslv3: + handle_ = ::SSL_CTX_new(::SSLv3_method()); + break; +@@ -97,6 +105,7 @@ context::context(context::method m) + case context::sslv3_server: + handle_ = ::SSL_CTX_new(::SSLv3_server_method()); + break; ++#endif + case context::tlsv1: + handle_ = ::SSL_CTX_new(::TLSv1_method()); + break; |
