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 ed9f9969e3
commit 3ec1930ae3

View 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);