diff options
author | Werner Koch <[email protected]> | 2001-12-13 09:09:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-12-13 09:09:11 +0000 |
commit | 9e241878a64b17ddafbe7a151cf56495a973d824 (patch) | |
tree | 25a581081bd088a1c5f12648972e8d861b94a455 /sm/base64.c | |
parent | Fixed INPUT/OUTPUT command (diff) | |
download | gnupg-9e241878a64b17ddafbe7a151cf56495a973d824.tar.gz gnupg-9e241878a64b17ddafbe7a151cf56495a973d824.zip |
Made decryption work in --server mode, allow output of plain base64,
allow --armor and --base64 arguments for INPUT and OUTPUT, new global
option --base64, cleaned up the help page.
Diffstat (limited to 'sm/base64.c')
-rw-r--r-- | sm/base64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/base64.c b/sm/base64.c index 7373b1c39..a176c70b2 100644 --- a/sm/base64.c +++ b/sm/base64.c @@ -530,7 +530,8 @@ gpgsm_create_writer (Base64Context *ctx, if (ctrl->create_pem || ctrl->create_base64) { (*ctx)->u.wparm.fp = fp; - (*ctx)->u.wparm.pem_name = "CMS OBJECT"; /* fixme */ + if (ctrl->create_pem) + (*ctx)->u.wparm.pem_name = "CMS OBJECT"; /* fixme */ rc = ksba_writer_set_cb (w, base64_writer_cb, &(*ctx)->u.wparm); } else |