1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2002-02-01 Marcus Brinkmann <marcus@g10code.de>

* sign.c (gpgsm_sign): Do not release certificate twice.
This commit is contained in:
Marcus Brinkmann 2002-02-01 18:08:32 +00:00
parent 30f1b027c0
commit a34a03def9
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2002-02-01 Marcus Brinkmann <marcus@g10code.de>
* sign.c (gpgsm_sign): Do not release certificate twice.
2002-01-29 Werner Koch <wk@gnupg.org>
* call-agent.c (gpgsm_agent_havekey): New.

View File

@ -375,10 +375,7 @@ gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp)
sigval = NULL;
rc = gpgsm_create_cms_signature (cert, md, algo, &sigval);
if (rc)
{
ksba_cert_release (cert);
goto leave;
}
goto leave;
err = ksba_cms_set_sig_val (cms, signer, sigval);
xfree (sigval);