jdk/test/javax/net/ssl/SSLSession/TestEnabledProtocols.java
changeset 28555 c7bf34f7b215
parent 23055 63ec3bde101c
--- a/jdk/test/javax/net/ssl/SSLSession/TestEnabledProtocols.java	Thu Oct 23 07:07:16 2014 +0800
+++ b/jdk/test/javax/net/ssl/SSLSession/TestEnabledProtocols.java	Mon Nov 03 08:30:18 2014 +0000
@@ -120,6 +120,10 @@
     volatile Exception clientException = null;
 
     public static void main(String[] args) throws Exception {
+        // reset the security property to make sure that the algorithms
+        // and keys used in this test are not disabled.
+        Security.setProperty("jdk.tls.disabledAlgorithms", "");
+
         String keyFilename =
             System.getProperty("test.src", "./") + "/" + pathToStores +
                 "/" + keyStoreFile;