6e52e0
--- boost_1_53_0.dist/boost/asio/ssl/impl/context.ipp	2012-12-30 15:17:13.000000000 -0800
6e52e0
+++ boost_1_53_0.dist/boost/asio/ssl/impl/context.ipp	2016-01-12 16:15:45.178958712 -0800
6e52e0
@@ -57,6 +57,14 @@ 
6e52e0
     handle_ = ::SSL_CTX_new(::SSLv2_server_method());
6e52e0
     break;
6e52e0
 #endif // defined(OPENSSL_NO_SSL2)
6e52e0
+#if defined(OPENSSL_NO_SSL3)
6e52e0
+  case context::sslv3:
6e52e0
+  case context::sslv3_client:
6e52e0
+  case context::sslv3_server:
6e52e0
+    boost::asio::detail::throw_error(
6e52e0
+        boost::asio::error::invalid_argument, "context");
6e52e0
+    break;
6e52e0
+#else // defined(OPENSSL_NO_SSL3)
6e52e0
   case context::sslv3:
6e52e0
     handle_ = ::SSL_CTX_new(::SSLv3_method());
6e52e0
     break;
6e52e0
@@ -66,6 +74,7 @@ 
6e52e0
   case context::sslv3_server:
6e52e0
     handle_ = ::SSL_CTX_new(::SSLv3_server_method());
6e52e0
     break;
6e52e0
+#endif // defined(OPENSSL_NO_SSL3)
6e52e0
   case context::tlsv1:
6e52e0
     handle_ = ::SSL_CTX_new(::TLSv1_method());
6e52e0
     break;