< prev index next >
test/jdk/sun/security/pkcs11/Mac/MacSameTest.java
Print this page
rev 59107 : imported patch security
@@ -88,17 +88,10 @@
System.out.println("Test " + algo);
Mac mac;
try {
mac = Mac.getInstance(algo, provider);
} catch (NoSuchAlgorithmException nsae) {
- if ("SunPKCS11-Solaris".equals(provider.getName())) {
- // depending on Solaris configuration,
- // it can support HMAC or not with Mac
- System.out.println("Expected NoSuchAlgorithmException thrown: "
- + nsae);
- return;
- }
throw nsae;
}
byte[] plain = new byte[MESSAGE_SIZE];
for (int i = 0; i < MESSAGE_SIZE; i++) {
< prev index next >