test/jdk/javax/net/ssl/TLSv12/DisabledShortDSAKeys.java
changeset 50768 68fa3d4026ea
parent 47216 71c04702a3d5
equal deleted inserted replaced
50767:356eaea05bf0 50768:68fa3d4026ea
   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);