Loading test/recipes/15-test_dsa.t +2 −2 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ ok(run(test(["dsatest", "-app2_1"])), "running dsatest -app2_1"); tconversion("dsa", srctop_file("test","testdsa.pem"), "pkey"); }; subtest 'dsa conversions -- public key' => sub { tconversion("dsa", srctop_file("test","testdsapub.pem"), "dsa", tconversion("msb", srctop_file("test","testdsapub.pem"), "dsa", "-pubin", "-pubout"); }; } test/recipes/15-test_rsa.t +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ ok(run(app([ 'openssl', 'rsa', '-check', '-in', srctop_file('test', 'testrsa.pem tconversion("rsa", srctop_file("test","testrsa.pem"), "pkey"); }; subtest 'rsa conversions -- public key' => sub { tconversion("rsa", srctop_file("test","testrsapub.pem"), "rsa", tconversion("msb", srctop_file("test","testrsapub.pem"), "rsa", "-pubin", "-pubout"); }; } test/recipes/tconversion.pl +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ my %conversionforms = ( # Default conversion forms. Other series may be added with # specific test types as key. "*" => [ "d", "p" ], "msb" => [ "d", "p", "msblob" ], ); sub tconversion { my $testtype = shift; Loading Loading
test/recipes/15-test_dsa.t +2 −2 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ ok(run(test(["dsatest", "-app2_1"])), "running dsatest -app2_1"); tconversion("dsa", srctop_file("test","testdsa.pem"), "pkey"); }; subtest 'dsa conversions -- public key' => sub { tconversion("dsa", srctop_file("test","testdsapub.pem"), "dsa", tconversion("msb", srctop_file("test","testdsapub.pem"), "dsa", "-pubin", "-pubout"); }; }
test/recipes/15-test_rsa.t +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ ok(run(app([ 'openssl', 'rsa', '-check', '-in', srctop_file('test', 'testrsa.pem tconversion("rsa", srctop_file("test","testrsa.pem"), "pkey"); }; subtest 'rsa conversions -- public key' => sub { tconversion("rsa", srctop_file("test","testrsapub.pem"), "rsa", tconversion("msb", srctop_file("test","testrsapub.pem"), "rsa", "-pubin", "-pubout"); }; }
test/recipes/tconversion.pl +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ my %conversionforms = ( # Default conversion forms. Other series may be added with # specific test types as key. "*" => [ "d", "p" ], "msb" => [ "d", "p", "msblob" ], ); sub tconversion { my $testtype = shift; Loading