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 f9e17acb69dac6b995216089d1caa725396847f1..f973fde45d50b44f1c5d84e3da7d9e0be5ff126f 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);