]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test/recipes/80-test_ssl_old.t: Replace 'openssl gendsa'
authorRichard Levitte <levitte@openssl.org>
Thu, 6 Feb 2020 11:12:49 +0000 (12:12 +0100)
committerPauli <paul.dale@oracle.com>
Tue, 11 Feb 2020 22:52:42 +0000 (08:52 +1000)
Use 'openssl genpkey' instead.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10977)

test/recipes/80-test_ssl_old.t

index 2d213b7daa7f7affc215608984650d820430c438..d6e638d2f107b7469b333f6498c4600d2bd30a2f 100644 (file)
@@ -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