test/jdk/javax/net/ssl/TLSv12/DisabledShortRSAKeys.java
branchJDK-8145252-TLS13-branch
changeset 56542 56aaa6cb3693
parent 47216 71c04702a3d5
equal deleted inserted replaced
56541:92cbbfc996f3 56542:56aaa6cb3693
   236 
   236 
   237         return ctx;
   237         return ctx;
   238     }
   238     }
   239 
   239 
   240     public static void main(String[] args) throws Exception {
   240     public static void main(String[] args) throws Exception {
   241         if (debug)
   241         Security.setProperty("jdk.certpath.disabledAlgorithms",
       
   242                 "RSA keySize < 1024");
       
   243         Security.setProperty("jdk.tls.disabledAlgorithms",
       
   244                 "RSA keySize < 1024");
       
   245 
       
   246         if (debug) {
   242             System.setProperty("javax.net.debug", "all");
   247             System.setProperty("javax.net.debug", "all");
       
   248         }
   243 
   249 
   244         /*
   250         /*
   245          * Get the customized arguments.
   251          * Get the customized arguments.
   246          */
   252          */
   247         parseArguments(args);
   253         parseArguments(args);