Setting X25519/X448 to TLS 1.3 only JDK-8171279-XDH-TLS-branch
authorapetcher
Tue, 22 May 2018 14:12:14 -0400
branchJDK-8171279-XDH-TLS-branch
changeset 56591 35891b3c2e28
parent 56590 8c3ea606198d
child 56855 ee6aa4c74a4b
Setting X25519/X448 to TLS 1.3 only
src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java
--- a/src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java	Tue May 22 14:01:11 2018 -0400
+++ b/src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java	Tue May 22 14:12:14 2018 -0400
@@ -262,9 +262,9 @@
 
         // x25519 and x448
         X25519      (0x001D, "x25519", true, "x25519",
-                            ProtocolVersion.PROTOCOLS_TO_13),
+                            ProtocolVersion.PROTOCOLS_OF_13),
         X448        (0x001E, "x448", true, "x448",
-                            ProtocolVersion.PROTOCOLS_TO_13),
+                            ProtocolVersion.PROTOCOLS_OF_13),
 
         // Finite Field Diffie-Hellman Ephemeral Parameters (RFC 7919)
         FFDHE_2048  (0x0100, "ffdhe2048",  true,