From: Matt Caswell Date: Tue, 15 Sep 2020 15:48:55 +0000 (+0100) Subject: Make sure we properly test for EdDSA with alg ids X-Git-Tag: openssl-3.0.0-alpha7~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c6348c23ade5ce8d3ce89bbcf61b666afc2b555;p=thirdparty%2Fopenssl.git Make sure we properly test for EdDSA with alg ids Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/12884) --- diff --git a/test/recipes/25-test_req.t b/test/recipes/25-test_req.t index 544d32963ce..b00b8c34047 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");