< prev index next >
test/jdk/javax/net/ssl/TLSv12/DisabledShortDSAKeys.java
Print this page
*** 287,298 ****
volatile Exception serverException = null;
volatile Exception clientException = null;
public static void main(String[] args) throws Exception {
! if (debug)
System.setProperty("javax.net.debug", "all");
/*
* Get the customized arguments.
*/
parseArguments(args);
--- 287,304 ----
volatile Exception serverException = null;
volatile Exception clientException = null;
public static void main(String[] args) throws Exception {
! Security.setProperty("jdk.certpath.disabledAlgorithms",
! "DSA keySize < 1024");
! Security.setProperty("jdk.tls.disabledAlgorithms",
! "DSA keySize < 1024");
!
! if (debug) {
System.setProperty("javax.net.debug", "all");
+ }
/*
* Get the customized arguments.
*/
parseArguments(args);
< prev index next >