diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-15 16:48:55 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-18 15:26:28 +0100 |
commit | 4c6348c23ade5ce8d3ce89bbcf61b666afc2b555 (patch) | |
tree | f7b4c3499484d2a62871b74e4e465067004ac22e | |
parent | d12a2fe4e73439af46cd545c3e04d80667dc0297 (diff) |
Make sure we properly test for EdDSA with alg ids
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12884)
-rw-r--r-- | test/recipes/25-test_req.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/recipes/25-test_req.t b/test/recipes/25-test_req.t index 544d32963c..b00b8c3404 100644 --- a/test/recipes/25-test_req.t +++ b/test/recipes/25-test_req.t @@ -143,15 +143,15 @@ subtest "generating certificate requests with Ed25519" => sub { SKIP: { skip "Ed25519 is not supported by this OpenSSL build", 2 - if disabled("ec") || !@tmp_loader_hack; + if disabled("ec"); - ok(run(app(["openssl", "req", @tmp_loader_hack, + ok(run(app(["openssl", "req", "-config", srctop_file("test", "test.cnf"), "-new", "-out", "testreq-ed25519.pem", "-utf8", "-key", srctop_file("test", "tested25519.pem")])), "Generating request"); - ok(run(app(["openssl", "req", @tmp_loader_hack, + ok(run(app(["openssl", "req", "-config", srctop_file("test", "test.cnf"), "-verify", "-in", "testreq-ed25519.pem", "-noout"])), "Verifying signature on request"); @@ -163,15 +163,15 @@ subtest "generating certificate requests with Ed448" => sub { SKIP: { skip "Ed448 is not supported by this OpenSSL build", 2 - if disabled("ec") || !@tmp_loader_hack; + if disabled("ec"); - ok(run(app(["openssl", "req", @tmp_loader_hack, + ok(run(app(["openssl", "req", "-config", srctop_file("test", "test.cnf"), "-new", "-out", "testreq-ed448.pem", "-utf8", "-key", srctop_file("test", "tested448.pem")])), "Generating request"); - ok(run(app(["openssl", "req", @tmp_loader_hack, + ok(run(app(["openssl", "req", "-config", srctop_file("test", "test.cnf"), "-verify", "-in", "testreq-ed448.pem", "-noout"])), "Verifying signature on request"); |