1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-18 14:17:03 +01:00

Silence gcc warning.

* sm/call-dirmngr.c (get_cached_cert): Make sure buflen is initialized.
This commit is contained in:
Marcus Brinkmann 2012-01-03 17:38:24 +01:00
parent ff2095ad7b
commit ed432f030e

View File

@ -816,7 +816,7 @@ get_cached_cert (assuan_context_t ctx,
char hexfpr[2*20+1]; char hexfpr[2*20+1];
struct membuf mb; struct membuf mb;
char *buf; char *buf;
size_t buflen; size_t buflen = 0;
ksba_cert_t cert; ksba_cert_t cert;
*r_cert = NULL; *r_cert = NULL;