diff --git a/test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java b/test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java index d5c37217fc87b4a154d3f2f96d6ec0888b90848a..f754148bd1565a9bc80297a3c0fd57afa9d7b516 100644 --- a/test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java +++ b/test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java @@ -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) {