$OpenBSD: patch-src_ssl_stubs_c,v 1.3 2015/10/09 00:28:24 jca Exp $

Fixed in

  https://github.com/savonet/ocaml-ssl/commit/8f698ba93028f0b399f75079d4369f44db82182c

--- src/ssl_stubs.c.orig	Wed May 27 09:56:10 2015
+++ src/ssl_stubs.c	Tue Oct  6 19:12:01 2015
@@ -290,6 +290,7 @@ static const SSL_METHOD *get_method(int protocol, int 
       break;
 
     case 1:
+#ifndef OPENSSL_NO_SSL3
       switch (type)
       {
         case 0:
@@ -304,6 +305,7 @@ static const SSL_METHOD *get_method(int protocol, int 
           method = SSLv3_method();
           break;
       }
+#endif
       break;
 
     case 2:
