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

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