]>
git.ipfire.org Git - thirdparty/openssl.git/blob - test/recipes/15-test_ec.t
7 use OpenSSL
::Test qw
/:DEFAULT top_file/;
13 require_ok
(top_file
('test','recipes','tconversion.pl'));
15 ok
(run
(test
(["ectest"])), "running ectest");
18 skip
"Skipping ec conversion test", 3
19 if run
(app
(["openssl","no-ec"], stdout
=> undef));
21 subtest
'ec conversions -- private key' => sub {
22 tconversion
("ec", top_file
("test","testec-p256.pem"));
24 subtest
'ec conversions -- private key PKCS#8' => sub {
25 tconversion
("ec", top_file
("test","testec-p256.pem"), "pkey");
27 subtest
'ec conversions -- public key' => sub {
28 tconversion
("ec", top_file
("test","testecpub-p256.pem"), "ec", "-pubin", "-pubout");