isaacpittman-hitachi / rpms / openssl

Forked from rpms/openssl 2 years ago
Clone

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

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