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