[pkg-boost-devel] Bug#622070: witty: FTBFS: openssl_context_service.hpp:73:28: error: '::SSLv2_method' has not been declared

Kurt Roeckx kurt at roeckx.be
Sun Apr 10 14:29:33 UTC 2011


reassign 622070 libboost1.46-dev
affects 622070 + src:witty
thanks

On Sat, Apr 09, 2011 at 01:56:28PM +0200, Lucas Nussbaum wrote:
> > In file included from /usr/include/boost/asio/ssl/context_service.hpp:30:0,
> >                  from /usr/include/boost/asio/ssl/context.hpp:22,
> >                  from /usr/include/boost/asio/ssl.hpp:19,
> >                  from /build/user-witty_3.1.8-2-amd64-wHJ4Kv/witty-3.1.8/src/http/Server.h:22,
> >                  from /build/user-witty_3.1.8-2-amd64-wHJ4Kv/witty-3.1.8/src/http/HTTPStream.C:12:
> > /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp: In member function 'void boost::asio::ssl::detail::openssl_context_service::create(SSL_CTX*&, boost::asio::ssl::context_base::method)':
> > /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:73:28: error: '::SSLv2_method' has not been declared
> > /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:76:28: error: '::SSLv2_client_method' has not been declared
> > /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:79:28: error: '::SSLv2_server_method' has not been declared
> > make[3]: *** [src/http/CMakeFiles/wthttp.dir/HTTPStream.o] Error 1

SSLv2 is now disabled in openssl and so the SSLv2_* methods have
been removed.  This can be detected by OPENSSL_NO_SSL2, so you
could place all the related section in an #ifndef OPENSSL_NO_SSL2

But I suggest that SSLv2 supports just gets completly removed,
even when it's available.


Kurt






More information about the pkg-boost-devel mailing list