mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
2002-02-01 Marcus Brinkmann <marcus@g10code.de>
* sign.c (gpgsm_sign): Do not release certificate twice.
This commit is contained in:
parent
30f1b027c0
commit
a34a03def9
@ -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>
|
2002-01-29 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* call-agent.c (gpgsm_agent_havekey): New.
|
* call-agent.c (gpgsm_agent_havekey): New.
|
||||||
|
@ -375,10 +375,7 @@ gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp)
|
|||||||
sigval = NULL;
|
sigval = NULL;
|
||||||
rc = gpgsm_create_cms_signature (cert, md, algo, &sigval);
|
rc = gpgsm_create_cms_signature (cert, md, algo, &sigval);
|
||||||
if (rc)
|
if (rc)
|
||||||
{
|
goto leave;
|
||||||
ksba_cert_release (cert);
|
|
||||||
goto leave;
|
|
||||||
}
|
|
||||||
|
|
||||||
err = ksba_cms_set_sig_val (cms, signer, sigval);
|
err = ksba_cms_set_sig_val (cms, signer, sigval);
|
||||||
xfree (sigval);
|
xfree (sigval);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user