diff options
author | Werner Koch <[email protected]> | 2007-05-29 20:11:17 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-05-29 20:11:17 +0000 |
commit | c2b08ff90821b5acc10d1ffb218b4a960200e5d3 (patch) | |
tree | 3248608cb5e0a4922b49d4437ad527b93d50c322 /sm/export.c | |
parent | 2007-05-19 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-c2b08ff90821b5acc10d1ffb218b4a960200e5d3.tar.gz gnupg-c2b08ff90821b5acc10d1ffb218b4a960200e5d3.zip |
Print passphrase encoding info only in PEM mode.
Diffstat (limited to 'sm/export.c')
-rw-r--r-- | sm/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/export.c b/sm/export.c index ec8a764c3..93b74bf7b 100644 --- a/sm/export.c +++ b/sm/export.c @@ -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); |