< prev index next >
test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java
Print this page
rev 1401 : 7055363: jdk_security3 test target cleanup
Reviewed-by: xuelei, weijun
*** 25,34 ****
--- 25,35 ----
* @test
* @bug 6405536
* @summary Verify that all ciphersuites work (incl. ECC using NSS crypto)
* @author Andreas Sterbenz
* @library ..
+ * @library ../../../../java/security/testlibrary
* @run main/othervm ClientJSSEServerJSSE
*/
import java.security.*;
*** 49,59 ****
public void main(Provider p) throws Exception {
if (p.getService("KeyFactory", "EC") == null) {
System.out.println("Provider does not support EC, skipping");
return;
}
! Security.insertProviderAt(p, 1);
CipherTest.main(new JSSEFactory(), cmdArgs);
Security.removeProvider(p.getName());
}
private static class JSSEFactory extends CipherTest.PeerFactory {
--- 50,60 ----
public void main(Provider p) throws Exception {
if (p.getService("KeyFactory", "EC") == null) {
System.out.println("Provider does not support EC, skipping");
return;
}
! Providers.setAt(p, 1);
CipherTest.main(new JSSEFactory(), cmdArgs);
Security.removeProvider(p.getName());
}
private static class JSSEFactory extends CipherTest.PeerFactory {
< prev index next >