f7a30f9
Do not return failure when setting version bound on fixed protocol
f7a30f9
version method.
f7a30f9
diff -up openssl-1.1.1-pre8/ssl/statem/statem_lib.c.ignore-bound openssl-1.1.1-pre8/ssl/statem/statem_lib.c
f7a30f9
--- openssl-1.1.1-pre8/ssl/statem/statem_lib.c.ignore-bound	2018-06-20 16:48:13.000000000 +0200
f7a30f9
+++ openssl-1.1.1-pre8/ssl/statem/statem_lib.c	2018-08-13 11:07:52.826304045 +0200
f7a30f9
@@ -1595,7 +1595,7 @@ int ssl_set_version_bound(int method_ver
f7a30f9
          * methods are not subject to controls that disable individual protocol
f7a30f9
          * versions.
f7a30f9
          */
f7a30f9
-        return 0;
f7a30f9
+        return 1;
f7a30f9
 
f7a30f9
     case TLS_ANY_VERSION:
f7a30f9
         if (version < SSL3_VERSION || version > TLS_MAX_VERSION)