Skip to content

Commit 11f7b1b

Browse files
committed
Matthew's comments
1 parent 4a2ee59 commit 11f7b1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/jdk/sun/security/pkcs11/Cipher/ReinitCipher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void main(String[] args) throws Exception {
4848
@Override
4949
public void main(Provider p) throws Exception {
5050
if (p.getService("Cipher", "ARCFOUR") == null) {
51-
throw new SkippedException("Not supported by provider, skipping");
51+
throw new SkippedException("Algorithm ARCFOUR is not supported by provider, skipping");
5252
}
5353
Random random = new Random();
5454
byte[] data1 = new byte[10 * 1024];

test/jdk/sun/security/pkcs11/Cipher/TestRSACipher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void main(Provider p) throws Exception {
5656
try {
5757
Cipher.getInstance(RSA_ALGOS[0], p);
5858
} catch (GeneralSecurityException e) {
59-
throw new SkippedException("Not supported by provider, skipping");
59+
throw new SkippedException("Algorithm " + RSA_ALGOS[0] + " is not supported by provider, skipping");
6060
}
6161
String kpgAlgorithm = "RSA";
6262
int keySize = SecurityUtils.getTestKeySize(kpgAlgorithm);

test/jdk/sun/security/pkcs11/Cipher/TestRawRSACipher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void main(Provider p) throws Exception {
5050
try {
5151
Cipher.getInstance("RSA/ECB/NoPadding", p);
5252
} catch (GeneralSecurityException e) {
53-
throw new SkippedException("Not supported by provider, skipping");
53+
throw new SkippedException("Algorithm RSA/ECB/NoPadding is not supported by provider, skipping");
5454
}
5555

5656
String kpgAlgorithm = "RSA";

0 commit comments

Comments
 (0)