I would guess so from documentation: http://www.openssl.org/docs/ssl/SSL_CTX_new.html
but if you want to be extra sure, you can use this patch: diff -urNap boost1.46-1.46.1~/boost/asio/ssl/detail/openssl_context_service.hpp boost1.46-1.46.1/boost/asio/ssl/detail/openssl_context_service.hpp --- boost1.46-1.46.1~/boost/asio/ssl/detail/openssl_context_service.hpp 2011-01-17 04:28:16.000000000 +0000 +++ boost1.46-1.46.1/boost/asio/ssl/detail/openssl_context_service.hpp 2011-05-02 14:30:53.318885601 +0000 @@ -67,13 +67,9 @@ public: switch (m) { case context_base::sslv2: - impl = ::SSL_CTX_new(::SSLv2_method()); - break; case context_base::sslv2_client: - impl = ::SSL_CTX_new(::SSLv2_client_method()); - break; case context_base::sslv2_server: - impl = ::SSL_CTX_new(::SSLv2_server_method()); + #error "SSLv2 support was removed from Debian" break; case context_base::sslv3: impl = ::SSL_CTX_new(::SSLv3_method()); Or you can rename sslv2, sslv_client and sslv2_server in context_base.hpp (removal would change ABI which you probably don't want): diff -urNap boost1.46-1.46.1~/boost/asio/ssl/context_base.hpp boost1.46-1.46.1/boost/asio/ssl/context_base.hpp --- boost1.46-1.46.1~/boost/asio/ssl/context_base.hpp 2011-01-17 04:28:16.000000000 +0000 +++ boost1.46-1.46.1/boost/asio/ssl/context_base.hpp 2011-05-02 14:35:52.281385405 +0000 @@ -34,13 +34,13 @@ public: enum method { /// Generic SSL version 2. - sslv2, + disabled_sslv2, /// SSL version 2 client. - sslv2_client, + disabled_sslv2_client, /// SSL version 2 server. - sslv2_server, + disabled_sslv2_server, /// Generic SSL version 3. sslv3, O. On Mon, May 2, 2011 at 16:26, Steve M. Robbins <st...@sumost.ca> wrote: > On Mon, May 02, 2011 at 02:26:33PM +0200, Ond??ej Sur?? wrote: >> retitle 621402 libboost1.46-dev: FTBFS rdepends: >> /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:73: >> error: '::SSLv2_method' has not been declared >> tags 621402 +patch >> thank you >> >> The attached patch fixed rdepends FTBFSes... > > Yes, but is it safe in the sense that falling through > to the "default" case signals an error? (Hopefully with > a useful diagnostic) > > -S > >> >> O. >> >> --- /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp~ >> 2011-04-16 >> 07:02:40.000000000 +0000 >> +++ /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp >> 2011-05-02 >> 12:05:51.914885474 +0000 >> @@ -66,15 +66,6 @@ public: >> { >> switch (m) >> { >> - case context_base::sslv2: >> - impl = ::SSL_CTX_new(::SSLv2_method()); >> - break; >> - case context_base::sslv2_client: >> - impl = ::SSL_CTX_new(::SSLv2_client_method()); >> - break; >> - case context_base::sslv2_server: >> - impl = ::SSL_CTX_new(::SSLv2_server_method()); >> - break; >> case context_base::sslv3: >> impl = ::SSL_CTX_new(::SSLv3_method()); >> break; >> >> >> -- >> ???Ond??ej Sur?? <ond...@sury.org> >> >> >> >> _______________________________________________ >> pkg-boost-devel mailing list >> pkg-boost-de...@lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/pkg-boost-devel > -- Ondřej Surý <ond...@sury.org> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org