Boost C++ Libraries: Ticket #11782: OpenSSL SSLv3 methods removed https://svn.boost.org/trac10/ticket/11782 <p> Hi, </p> <p> asio/ssl/impl/context.ipp you have code that looks loks like: #if defined(OPENSSL_NO_SSL2) </p> <blockquote> <p> case context::sslv2: case context::sslv2_client: case context::sslv2_server: </p> <blockquote> <p> boost::asio::detail::throw_error( </p> <blockquote> <p> boost::asio::error::invalid_argument, "context"); </p> </blockquote> <p> break; </p> </blockquote> </blockquote> <p> #else <em> defined(OPENSSL_NO_SSL2) </em></p> <blockquote> <p> case context::sslv2: </p> <blockquote> <p> handle_ = ::SSL_CTX_new(::SSLv2_method()); break; </p> </blockquote> <p> case context::sslv2_client: </p> <blockquote> <p> handle_ = ::SSL_CTX_new(::SSLv2_client_method()); break; </p> </blockquote> <p> case context::sslv2_server: </p> <blockquote> <p> handle_ = ::SSL_CTX_new(::SSLv2_server_method()); break; </p> </blockquote> </blockquote> <p> #endif <em> defined(OPENSSL_NO_SSL2) </em></p> <blockquote> <p> case context::sslv3: </p> <blockquote> <p> handle_ = ::SSL_CTX_new(::SSLv3_method()); break; </p> </blockquote> <p> case context::sslv3_client: </p> <blockquote> <p> handle_ = ::SSL_CTX_new(::SSLv3_client_method()); break; </p> </blockquote> <p> case context::sslv3_server: </p> <blockquote> <p> handle_ = ::SSL_CTX_new(::SSLv3_server_method()); break; </p> </blockquote> </blockquote> <p> Please do the same for the SSLv3 part but then using OPENSSL_NO_SSL3_METHOD </p> <p> I've just disabled those SSLv3 methods in Debian. </p> <p> It would also be nice that you just removed things like TLSv1_1_method() method too, and only use SSLv23_method() (or TLS_method()). Also see ticket <a class="new ticket" href="https://svn.boost.org/trac10/ticket/10690" title="#10690: Bugs: Boost SSL protocols (new)">#10690</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11782 Trac 1.4.3 anonymous Mon, 02 Nov 2015 21:16:19 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11782#comment:1 https://svn.boost.org/trac10/ticket/11782#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket