提交 1d489b23 编写于 作者: X xuelei

7105940: Test regression: KeyStore must be from provider SunPKCS11-NSSKeyStore

Reviewed-by: weijun
上级 7f838b8a
...@@ -394,8 +394,6 @@ public class CipherTest { ...@@ -394,8 +394,6 @@ public class CipherTest {
public static void main(PeerFactory peerFactory, KeyStore keyStore, public static void main(PeerFactory peerFactory, KeyStore keyStore,
String[] args) throws Exception { String[] args) throws Exception {
SSLContext reservedSSLContext = SSLContext.getDefault();
try {
long time = System.currentTimeMillis(); long time = System.currentTimeMillis();
String relPath; String relPath;
if ((args != null) && (args.length > 0) && args[0].equals("sh")) { if ((args != null) && (args.length > 0) && args[0].equals("sh")) {
...@@ -437,9 +435,6 @@ public class CipherTest { ...@@ -437,9 +435,6 @@ public class CipherTest {
cipherTest.run(); cipherTest.run();
time = System.currentTimeMillis() - time; time = System.currentTimeMillis() - time;
System.out.println("Done. (" + time + " ms)"); System.out.println("Done. (" + time + " ms)");
} finally {
SSLContext.setDefault(reservedSSLContext);
}
} }
static abstract class PeerFactory { static abstract class PeerFactory {
......
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
* @bug 6313675 6323647 * @bug 6313675 6323647
* @summary Verify that all ciphersuites work in FIPS mode * @summary Verify that all ciphersuites work in FIPS mode
* @library .. * @library ..
* @run main/othervm ClientJSSEServerJSSE
* @ignore JSSE supported cipher suites are changed with CR 6916074, * @ignore JSSE supported cipher suites are changed with CR 6916074,
* need to update this test case in JDK 7 soon * need to update this test case in JDK 7 soon
* @run main/othervm ClientJSSEServerJSSE
* @author Andreas Sterbenz * @author Andreas Sterbenz
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册