diff options
author | Werner Koch <wk@gnupg.org> | 2001-11-27 19:38:59 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2001-11-27 19:38:59 +0100 |
commit | 95e6da1b07e27ed373ab744594442be685f77020 (patch) | |
tree | 027d0a05b5a49fcdc61c49e35257f6508c50d14b /sm/sign.c | |
parent | * base64.c: New. Changed all other functions to use this instead (diff) | |
download | gnupg2-95e6da1b07e27ed373ab744594442be685f77020.tar.xz gnupg2-95e6da1b07e27ed373ab744594442be685f77020.zip |
--armor does now produce PEM format.
Diffstat (limited to 'sm/sign.c')
-rw-r--r-- | sm/sign.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -328,6 +328,12 @@ gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp) } while (stopreason != KSBA_SR_READY); + rc = gpgsm_finish_writer (b64writer); + if (rc) + { + log_error ("write failed: %s\n", gnupg_strerror (rc)); + goto leave; + } log_info ("signature created\n"); leave: |