提交 340c5e62 编写于 作者: C coffeys

8130952: test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed

Reviewed-by: vinnie
上级 812b2eff
......@@ -58,16 +58,12 @@ public class ClientJSSEServerJSSE extends PKCS11Test {
public void main(Provider p) throws Exception {
String testWithoutSunEC = System.getProperty("testWithoutSunEC");
// MD5 is used in this test case, don't disable MD5 algorithm.
Security.setProperty(
"jdk.certpath.disabledAlgorithms", "MD2, RSA keySize < 1024");
if (p.getService("KeyFactory", "EC") == null) {
System.out.println("Provider does not support EC, skipping");
return;
}
if (testWithoutSunEC != null) {
Provider sunec = Security.getProvider("SunEC");
if (sunec == null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册