File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
test/jdk/sun/security/pkcs11/Cipher Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ];
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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" ;
You can’t perform that action at this time.
0 commit comments