From 3ec1930ae3b1b47afe53729fa3eaacdeb8361bf0 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 --- gpgmeplug/gpgmeplug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index f9e17ac..f973fde 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/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