mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix --output option used when with --export-secret-kety-p12.
This commit is contained in:
parent
7d714a3788
commit
ee3a1ec0d8
4 changed files with 8 additions and 3 deletions
|
@ -1808,7 +1808,7 @@ main ( int argc, char **argv)
|
|||
FILE *fp = open_fwrite (opt.outfile?opt.outfile:"-");
|
||||
|
||||
if (argc == 1)
|
||||
gpgsm_p12_export (&ctrl, *argv, stdout);
|
||||
gpgsm_p12_export (&ctrl, *argv, fp);
|
||||
else
|
||||
wrong_args ("--export-secret-key-p12 KEY-ID");
|
||||
if (fp != stdout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue