From 343f0e4a8182ca5c07d9c527f6d681c4109c0700 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 6 Feb 2020 12:12:49 +0100 Subject: [PATCH] test/recipes/80-test_ssl_old.t: Replace 'openssl gendsa' Use 'openssl genpkey' instead. Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/10977) --- test/recipes/80-test_ssl_old.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/recipes/80-test_ssl_old.t b/test/recipes/80-test_ssl_old.t index 2d213b7daa..d6e638d2f1 100644 --- a/test/recipes/80-test_ssl_old.t +++ b/test/recipes/80-test_ssl_old.t @@ -36,7 +36,7 @@ my $digest = "-sha1"; my @reqcmd = ("openssl", "req"); my @x509cmd = ("openssl", "x509", $digest); my @verifycmd = ("openssl", "verify"); -my @gendsacmd = ("openssl", "gendsa"); +my @genpkeycmd = ("openssl", "genpkey"); my $dummycnf = srctop_file("apps", "openssl.cnf"); my $CAkey = "keyCA.ss"; @@ -178,8 +178,8 @@ sub testss { SKIP: { $ENV{CN2} = "DSA Certificate"; skip 'failure', 4 unless - ok(run(app([@gendsacmd, "-out", $Dkey, - $dsaparams], + ok(run(app([@genpkeycmd, "-out", $Dkey, + "-paramfile", $dsaparams], stdout => "err.ss")), "make a DSA key"); skip 'failure', 3 unless -- 2.25.1