Blame SOURCES/openssl-1.1.1-weak-ciphers.patch

9b88be
diff -up openssl-1.1.1/ssl/s3_lib.c.weak-ciphers openssl-1.1.1/ssl/s3_lib.c
9b88be
--- openssl-1.1.1/ssl/s3_lib.c.weak-ciphers	2018-09-11 14:48:23.000000000 +0200
9b88be
+++ openssl-1.1.1/ssl/s3_lib.c	2018-09-17 12:53:33.850637181 +0200
9b88be
@@ -2612,7 +2612,7 @@ static SSL_CIPHER ssl3_ciphers[] = {
9b88be
      SSL_GOST89MAC,
9b88be
      TLS1_VERSION, TLS1_2_VERSION,
9b88be
      0, 0,
9b88be
-     SSL_HIGH,
9b88be
+     SSL_MEDIUM,
9b88be
      SSL_HANDSHAKE_MAC_GOST94 | TLS1_PRF_GOST94 | TLS1_STREAM_MAC,
9b88be
      256,
9b88be
      256,
9b88be
@@ -2644,7 +2644,7 @@ static SSL_CIPHER ssl3_ciphers[] = {
9b88be
      SSL_GOST89MAC12,
9b88be
      TLS1_VERSION, TLS1_2_VERSION,
9b88be
      0, 0,
9b88be
-     SSL_HIGH,
9b88be
+     SSL_MEDIUM,
9b88be
      SSL_HANDSHAKE_MAC_GOST12_256 | TLS1_PRF_GOST12_256 | TLS1_STREAM_MAC,
9b88be
      256,
9b88be
      256,
9b88be
@@ -2753,7 +2753,7 @@ static SSL_CIPHER ssl3_ciphers[] = {
9b88be
      },
9b88be
 #endif                          /* OPENSSL_NO_SEED */
9b88be
 
9b88be
-#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
9b88be
+#if 0 /* No MD5 ciphersuites */
9b88be
     {
9b88be
      1,
9b88be
      SSL3_TXT_RSA_RC4_128_MD5,
9b88be
@@ -2770,6 +2770,8 @@ static SSL_CIPHER ssl3_ciphers[] = {
9b88be
      128,
9b88be
      128,
9b88be
      },
9b88be
+#endif
9b88be
+#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
9b88be
     {
9b88be
      1,
9b88be
      SSL3_TXT_RSA_RC4_128_SHA,
9b88be
@@ -2786,6 +2788,8 @@ static SSL_CIPHER ssl3_ciphers[] = {
9b88be
      128,
9b88be
      128,
9b88be
      },
9b88be
+#endif
9b88be
+#if 0
9b88be
     {
9b88be
      1,
9b88be
      SSL3_TXT_ADH_RC4_128_MD5,
9b88be
@@ -2802,6 +2806,8 @@ static SSL_CIPHER ssl3_ciphers[] = {
9b88be
      128,
9b88be
      128,
9b88be
      },
9b88be
+#endif
9b88be
+#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
9b88be
     {
9b88be
      1,
9b88be
      TLS1_TXT_ECDHE_PSK_WITH_RC4_128_SHA,