diff options
author | Michael Baentsch <57787676+baentsch@users.noreply.github.com> | 2023-09-22 17:52:09 +0200 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2023-09-24 20:51:42 +0200 |
commit | 6c03fa21ed4bbc9fd6d3013fdf9f4646d231f831 (patch) | |
tree | 991eabe28a9a72a3aaa9332d88ac9584a1e925c0 /test | |
parent | 1acc3e8cc3c69187b55cc557c1bc03278ab38063 (diff) |
adding -outpubkey option to genpkey
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22173)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/15-test_genec.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/recipes/15-test_genec.t b/test/recipes/15-test_genec.t index 2dfed387ca..3e8c55071c 100644 --- a/test/recipes/15-test_genec.t +++ b/test/recipes/15-test_genec.t @@ -232,13 +232,15 @@ foreach my $curvename (@curve_list) { foreach my $outform (@output_formats) { my $outfile = "ecgen.${curvename}.${paramenc}." . lc $outform; + my $outpubfile = "ecgen.${curvename}.${paramenc}-pub." . lc $outform; $fn->("genpkey EC key on ${curvename} with ec_param_enc:'${paramenc}' (${outform})", app([ 'openssl', 'genpkey', '-algorithm', 'EC', '-pkeyopt', 'ec_paramgen_curve:'.$curvename, '-pkeyopt', 'ec_param_enc:'.$paramenc, '-outform', $outform, - '-out', $outfile])); + '-out', $outfile, + '-outpubkey', $outpubfile])); } } } |