Bugfix: forgot to initialize the list of certificates in findCertificates() before adding the found entries

This commit is contained in:
Karl-Heinz Zimmer 2002-03-08 18:13:20 +00:00
parent bb1f4cde87
commit 539840d772

View File

@ -1193,6 +1193,8 @@ bool findCertificates( const char* addressee, char** certificates )
const char *s2; const char *s2;
bool bOk = false; bool bOk = false;
strcpy( *certificates, "" );
gpgme_new (&ctx); gpgme_new (&ctx);
gpgme_set_protocol (ctx, GPGMEPLUG_PROTOCOL); gpgme_set_protocol (ctx, GPGMEPLUG_PROTOCOL);