Bugfix: forgot to initialize the list of certificates in findCertificates() before...
authorKarl-Heinz Zimmer <khz@kde.org>
Fri, 8 Mar 2002 18:13:20 +0000 (18:13 +0000)
committerKarl-Heinz Zimmer <khz@kde.org>
Fri, 8 Mar 2002 18:13:20 +0000 (18:13 +0000)
gpgmeplug/gpgmeplug.c

index f9e17ac..f973fde 100644 (file)
@@ -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);