8181439: Test the jdk.tls.namedGroups System Property
authorxuelei
Sat, 03 Jun 2017 02:44:55 +0000
changeset 45382 151eaca7efca
parent 45381 af5e9020aac8
child 45385 a71fdce20589
8181439: Test the jdk.tls.namedGroups System Property Reviewed-by: valeriep
jdk/test/sun/security/ssl/DHKeyExchange/UseStrongDHSizes.java
--- a/jdk/test/sun/security/ssl/DHKeyExchange/UseStrongDHSizes.java	Fri Jun 02 21:11:02 2017 +0000
+++ b/jdk/test/sun/security/ssl/DHKeyExchange/UseStrongDHSizes.java	Sat Jun 03 02:44:55 2017 +0000
@@ -33,6 +33,11 @@
  * @library /javax/net/ssl/templates
  * @summary Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for TLS
  * @run main/othervm UseStrongDHSizes 2048
+ * @run main/othervm -Djdk.tls.namedGroups=ffdhe2048 UseStrongDHSizes 2048
+ * @run main/othervm -Djdk.tls.namedGroups=ffdhe3072 UseStrongDHSizes 2048
+ * @run main/othervm -Djdk.tls.namedGroups=ffdhe4096 UseStrongDHSizes 2048
+ * @run main/othervm -Djdk.tls.namedGroups=ffdhe6144 UseStrongDHSizes 2048
+ * @run main/othervm -Djdk.tls.namedGroups=ffdhe8192 UseStrongDHSizes 2048
  */
 
 import java.io.InputStream;