1
0
Fork 0
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:
Werner Koch 2007-05-29 20:11:17 +00:00
parent bc078f97a9
commit c2b08ff908
3 changed files with 8 additions and 1 deletions

View file

@ -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);