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?? <[email protected]>
> 
> 
> 
> _______________________________________________
> pkg-boost-devel mailing list
> [email protected]
> http://lists.alioth.debian.org/mailman/listinfo/pkg-boost-devel

Attachment: signature.asc
Description: Digital signature

Reply via email to