jdk/test/sun/security/pkcs11/ec/ReadPKCS12.java
changeset 13661 7c894680910a
parent 10328 06c93c42bca0
child 14342 8435a30053c1
--- a/jdk/test/sun/security/pkcs11/ec/ReadPKCS12.java	Thu Aug 30 12:55:40 2012 +0100
+++ b/jdk/test/sun/security/pkcs11/ec/ReadPKCS12.java	Thu Aug 30 14:40:57 2012 -0700
@@ -53,6 +53,10 @@
             System.out.println("Provider does not support ECDSA, skipping...");
             return;
         }
+
+        /*
+         * PKCS11Test.main will remove this provider if needed
+         */
         Providers.setAt(p, 1);
 
         CertificateFactory factory = CertificateFactory.getInstance("X.509");
@@ -147,7 +151,6 @@
             out.close();
         }
 
-        Security.removeProvider(p.getName());
         System.out.println("OK");
     }