require_ok(srctop_file('test','recipes','tconversion.pl'));
- SKIP: {
- skip "Skipping initial dsa tests", 2
- if disabled('deprecated-3.0');
-
- ok(run(test(["dsatest"])), "running dsatest");
- ok(run(test(["dsa_no_digest_size_test"])),
- "running dsa_no_digest_size_test");
-}
-
- SKIP: {
- skip "Skipping dsa conversion test using 'openssl dsa'", 2
- if disabled('deprecated-3.0');
-
- subtest "dsa conversions using 'openssl dsa' -- private key" => sub {
- tconversion("dsa", srctop_file("test","testdsa.pem"));
- };
- subtest "dsa conversions using 'openssl dsa' -- public key" => sub {
- tconversion("msb", srctop_file("test","testdsapub.pem"), "dsa",
- "-pubin", "-pubout");
- };
-}
+ok(run(test(["dsatest"])), "running dsatest");
+ok(run(test(["dsa_no_digest_size_test"])),
+ "running dsa_no_digest_size_test");
+
+subtest "dsa conversions using 'openssl dsa' -- private key" => sub {
+ tconversion("dsa", srctop_file("test","testdsa.pem"));
+};
+subtest "dsa conversions using 'openssl dsa' -- public key" => sub {
+ tconversion("msb", srctop_file("test","testdsapub.pem"), "dsa",
+ "-pubin", "-pubout");
+};
subtest "dsa conversions using 'openssl pkey' -- private key PKCS#8" => sub {
tconversion("dsa", srctop_file("test","testdsa.pem"), "pkey");
# the command line tool in addition to the algorithm.
SKIP: {
skip "Skipping EC conversion test", 3
- if disabled("ec") || disabled('deprecated-3.0');
+ if disabled("ec");
subtest 'EC conversions -- private key' => sub {
tconversion("ec", srctop_file("test","testec-p256.pem"));
setup("test_rsa");
-#plan skip_all => "RSA command line tool not built"
-# if disabled("deprecated-3.0");
-
plan tests => 10;
require_ok(srctop_file('test', 'recipes', 'tconversion.pl'));
run_rsa_tests("pkey");
- SKIP: {
- skip "Skipping rsa command line tests", 4 if disabled('deprecated-3.0');
-
- run_rsa_tests("rsa");
-}
+run_rsa_tests("rsa");
sub run_rsa_tests {
my $cmd = shift;