test/jdk/javax/net/ssl/TLSv12/DisabledShortDSAKeys.java
branchJDK-8145252-TLS13-branch
changeset 56542 56aaa6cb3693
parent 47216 71c04702a3d5
equal deleted inserted replaced
56541:92cbbfc996f3 56542:56aaa6cb3693
   287 
   287 
   288     volatile Exception serverException = null;
   288     volatile Exception serverException = null;
   289     volatile Exception clientException = null;
   289     volatile Exception clientException = null;
   290 
   290 
   291     public static void main(String[] args) throws Exception {
   291     public static void main(String[] args) throws Exception {
   292         if (debug)
   292         Security.setProperty("jdk.certpath.disabledAlgorithms",
       
   293                 "DSA keySize < 1024");
       
   294         Security.setProperty("jdk.tls.disabledAlgorithms",
       
   295                 "DSA keySize < 1024");
       
   296 
       
   297         if (debug) {
   293             System.setProperty("javax.net.debug", "all");
   298             System.setProperty("javax.net.debug", "all");
       
   299         }
   294 
   300 
   295         /*
   301         /*
   296          * Get the customized arguments.
   302          * Get the customized arguments.
   297          */
   303          */
   298         parseArguments(args);
   304         parseArguments(args);