isaacpittman-hitachi / rpms / openssl

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