diff options
author | Werner Koch <[email protected]> | 2001-12-11 12:31:04 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-12-11 12:31:04 +0000 |
commit | 6a8c47bd29d24d160b56d782513db0187b80819d (patch) | |
tree | 1a7cbc3a98010a058913b8faa3c62132c6fa09e2 /sm/sign.c | |
parent | New searchmode and hack to allow a hex encoded serial number (diff) | |
download | gnupg-6a8c47bd29d24d160b56d782513db0187b80819d.tar.gz gnupg-6a8c47bd29d24d160b56d782513db0187b80819d.zip |
Implemented encryption in server mode.
Allow to specify a recipient on the commandline
There is still a default hardwired recipient if none has been set.
Diffstat (limited to 'sm/sign.c')
-rw-r--r-- | sm/sign.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -186,7 +186,7 @@ gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp) rc = map_ksba_err (err); goto leave; } - cert = NULL; /* cms does now own the certificate */ + ksba_cert_release (cert); cert = NULL; /* fixme: We might want to include a list of certificate which are put as info into the signed data object - maybe we should add a @@ -270,7 +270,6 @@ gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp) rc = map_ksba_err (err); goto leave; } - log_debug ("ksba_cms_build - stop reason %d\n", stopreason); if (stopreason == KSBA_SR_BEGIN_DATA) { /* hash the data and store the message digest */ |