mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Print passphrase encoding info only in PEM mode.
This commit is contained in:
parent
bc078f97a9
commit
c2b08ff908
3 changed files with 8 additions and 1 deletions
|
@ -416,7 +416,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, FILE *fp)
|
|||
putc ('\n', fp);
|
||||
}
|
||||
|
||||
if (opt.p12_charset)
|
||||
if (opt.p12_charset && ctrl->create_pem)
|
||||
{
|
||||
fprintf (fp, "The passphrase is %s encoded.\n\n",
|
||||
opt.p12_charset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue