< prev index next >
test/jdk/sun/security/pkcs11/Provider/ConfigShortPath.java
Print this page
rev 59107 : imported patch security
@@ -41,17 +41,13 @@
};
public static void main(String[] args) throws Exception {
Provider p = Security.getProvider("SunPKCS11");
if (p == null) {
- // re-try w/ SunPKCS11-Solaris
- p = Security.getProvider("SunPKCS11-Solaris");
- if (p == null) {
System.out.println("Skipping test - no PKCS11 provider available");
return;
}
- }
String osInfo = System.getProperty("os.name", "");
String[] configNames = (osInfo.contains("Windows")?
winConfigNames : solConfigNames);
< prev index next >