From 539840d7725abe8e1937e9e3adad8afe1d9d483c Mon Sep 17 00:00:00 2001 From: Karl-Heinz Zimmer Date: Fri, 8 Mar 2002 18:13:20 +0000 Subject: [PATCH] Bugfix: forgot to initialize the list of certificates in findCertificates() before adding the found entries --- trunk/gpgmeplug/gpgmeplug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index f9e17ac..f973fde 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/gpgmeplug/gpgmeplug.c @@ -1192,6 +1192,8 @@ bool findCertificates( const char* addressee, char** certificates ) const char *s; const char *s2; bool bOk = false; + + strcpy( *certificates, "" ); gpgme_new (&ctx); gpgme_set_protocol (ctx, GPGMEPLUG_PROTOCOL); -- 2.26.2