bugfix in findCertificates function

This commit is contained in:
Karl-Heinz Zimmer 2002-03-09 16:46:36 +00:00
parent 3ec1930ae3
commit 9c94500486

View File

@ -1208,7 +1208,7 @@ bool findCertificates( const char* addressee, char** certificates )
s2 = gpgme_key_get_string_attr (rKey, GPGME_ATTR_FPR, NULL, 0); s2 = gpgme_key_get_string_attr (rKey, GPGME_ATTR_FPR, NULL, 0);
if( s2 ) { if( s2 ) {
strcat( *certificates, s ); strcat( *certificates, s );
strcat( *certificates, "(" ); strcat( *certificates, " (" );
strcat( *certificates, s2 ); strcat( *certificates, s2 );
strcat( *certificates, ")\1" ); strcat( *certificates, ")\1" );
} }