[pkg-boost-devel] Bug#621402: Bug#621402:

Steve M. Robbins steve at sumost.ca
Mon May 2 14:26:27 UTC 2011


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?? <ondrej at sury.org>
> 
> 
> 
> _______________________________________________
> pkg-boost-devel mailing list
> pkg-boost-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-boost-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20110502/c1f11e9c/attachment.pgp>


More information about the pkg-boost-devel mailing list