changeset 45382:151eaca7efca

8181439: Test the jdk.tls.namedGroups System Property Reviewed-by: valeriep
author xuelei
date Sat, 03 Jun 2017 02:44:55 +0000
parents af5e9020aac8
children a71fdce20589
files jdk/test/sun/security/ssl/DHKeyExchange/UseStrongDHSizes.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;