File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
test/jdk/sun/security/pkcs11/Cipher Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2626 * @bug 8244336
2727 * @summary Test JCE layer algorithm restriction
2828 * @library /test/lib ..
29- * @run main/othervm TestDisabledAlgorithms CiPhEr.RSA/ECB/PKCS1Padding true
30- * @run main/othervm TestDisabledAlgorithms cIpHeR.rsA true
31- * @run main/othervm TestDisabledAlgorithms Cipher.what false
32- * @run main/othervm TestDisabledAlgorithms CiPhER.RSA/ECB/PKCS1Padding2 false
29+ * @run main/othervm TestDisabledAlgorithms sm CiPhEr.RSA/ECB/PKCS1Padding true
30+ * @run main/othervm TestDisabledAlgorithms sm cIpHeR.rsA true
31+ * @run main/othervm TestDisabledAlgorithms sm Cipher.what false
32+ * @run main/othervm TestDisabledAlgorithms sm CiPhER.RSA/ECB/PKCS1Padding2 false
3333 */
3434import java .util .List ;
3535import java .security .NoSuchAlgorithmException ;
@@ -71,11 +71,11 @@ public void main(Provider p) throws Exception {
7171 }
7272
7373 public static void main (String [] args ) throws Exception {
74- String propValue = args [0 ];
74+ String propValue = args [1 ];
7575 System .out .println ("Setting Security Prop " + PROP_NAME + " = " +
7676 propValue );
7777 Security .setProperty (PROP_NAME , propValue );
78- boolean shouldThrow = Boolean .valueOf (args [1 ]);
78+ boolean shouldThrow = Boolean .valueOf (args [2 ]);
7979 main (new TestDisabledAlgorithms (shouldThrow ), args );
8080 }
8181}
You can’t perform that action at this time.
0 commit comments