TEST: Adapt all applicable tests to the new distinguishing ID
[openssl.git] / test / recipes / 80-test_ca.t
index 483b1f5ec6f9dc53012b161102f7f01d31feb455..5b4f59b69bab2bcc1842b1427b29d695839af8ba 100644 (file)
@@ -59,8 +59,8 @@ SKIP: {
                        srctop_file("test", "CAss.cnf"),
                        "-in", srctop_file("test", "certs", "sm2-csr.pem"),
                        "-out", "sm2-test.crt",
-                       "-sigopt", "sm2_id:1234567812345678",
-                       "-sm2-id", "1234567812345678",
+                       "-sigopt", "distid:1234567812345678",
+                       "-vfyopt", "distid:1234567812345678",
                        "-md", "sm3",
                        "-cert", srctop_file("test", "certs", "sm2-root.crt"),
                        "-keyfile", srctop_file("test", "certs", "sm2-root.key")]))),
@@ -68,10 +68,6 @@ SKIP: {
        "Signing SM2 certificate request");
 }
 
-rmtree("demoCA", { safe => 0 });
-unlink "newcert.pem", "newreq.pem", "newkey.pem", "sm2-test.crt";
-
-
 sub yes {
     my $cntr = 10;
     open(PIPE, "|-", join(" ",@_));