Blame SOURCES/openssl-1.1.1-ignore-bound.patch

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