Bugfix: forgot to initialize the list of certificates in findCertificates() before adding the found entries
This commit is contained in:
parent
bb1f4cde87
commit
539840d772
@ -1192,6 +1192,8 @@ bool findCertificates( const char* addressee, char** certificates )
|
|||||||
const char *s;
|
const char *s;
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user