TLS 1.3, OpenSSL interop issues JDK-8145252-TLS13-branch
authorxuelei
Wed, 16 May 2018 15:26:36 -0700
branchJDK-8145252-TLS13-branch
changeset 56564 30fa0266d3e6
parent 56563 efd40d6fa612
child 56565 0ee6535f3f5b
TLS 1.3, OpenSSL interop issues
src/java.base/share/classes/sun/security/ssl/CipherSuite.java
--- a/src/java.base/share/classes/sun/security/ssl/CipherSuite.java	Wed May 16 10:08:23 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/CipherSuite.java	Wed May 16 15:26:36 2018 -0700
@@ -144,7 +144,7 @@
     TLS_RSA_WITH_AES_256_CBC_SHA256(
             0x003D, true, "TLS_RSA_WITH_AES_256_CBC_SHA256", "",
                     ProtocolVersion.PROTOCOLS_OF_12,
-                    K_RSA, B_AES_256, M_SHA384, H_SHA384),
+                    K_RSA, B_AES_256, M_SHA256, H_SHA256),
     TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384(
             0xC026, true, "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384", "",
                     ProtocolVersion.PROTOCOLS_OF_12,
@@ -156,7 +156,7 @@
     TLS_DHE_RSA_WITH_AES_256_CBC_SHA256(
             0x006B, true, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", "",
                     ProtocolVersion.PROTOCOLS_OF_12,
-                    K_DHE_RSA, B_AES_256, M_SHA384, H_SHA256),
+                    K_DHE_RSA, B_AES_256, M_SHA256, H_SHA256),
     TLS_DHE_DSS_WITH_AES_256_CBC_SHA256(
             0x006A, true, "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", "",
                     ProtocolVersion.PROTOCOLS_OF_12,