tags 622068 + pending thanks Dear maintainer,
I've prepared an NMU for asio (versioned as 1.4.1-3.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Rod Stewart: Baby Jane
diff -u asio-1.4.1/debian/changelog asio-1.4.1/debian/changelog --- asio-1.4.1/debian/changelog +++ asio-1.4.1/debian/changelog @@ -1,3 +1,16 @@ +asio (1.4.1-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: ./../include/asio/ssl/detail/openssl_context_service.hpp:73:20: + error: '::SSLv2_method' has not been declared": + add patch from Cristian Greco: + - Enable building when OpenSSL has disabled SSLv2. Throw exception if + SSLv2 connection requested but OPENSSL_NO_SSL2 defined. Fall back to + returning invalid state if exceptions are disabled. + (Closes: #622068, LP: #831346) + + -- gregor herrmann <[email protected]> Sun, 27 Nov 2011 17:58:44 +0100 + asio (1.4.1-3) unstable; urgency=low * Update Boost dependency declarations to use boost-defaults only in patch2: unchanged: --- asio-1.4.1.orig/include/asio/ssl/detail/openssl_context_service.hpp +++ asio-1.4.1/include/asio/ssl/detail/openssl_context_service.hpp @@ -21,6 +21,7 @@ #include "asio/detail/push_options.hpp" #include <cstring> #include <string> +#include <stdexcept> #include <boost/function.hpp> #include "asio/detail/pop_options.hpp" @@ -66,9 +67,16 @@ // Create a new context implementation. void create(impl_type& impl, context_base::method m) { - ::SSL_METHOD* ssl_method = 0; + const ::SSL_METHOD* ssl_method = 0; switch (m) { +#if defined(OPENSSL_NO_SSL2) + case context_base::sslv2: + case context_base::sslv2_client: + case context_base::sslv2_server: + boost::throw_exception(std::runtime_error("SSLv2 is not supported in your OpenSSL")); + break; +#else case context_base::sslv2: ssl_method = ::SSLv2_method(); break; @@ -78,6 +86,7 @@ case context_base::sslv2_server: ssl_method = ::SSLv2_server_method(); break; +#endif case context_base::sslv3: ssl_method = ::SSLv3_method(); break;
signature.asc
Description: Digital signature

