Make it compile. :-(

This commit is contained in:
Karl-Heinz Zimmer 2002-06-28 19:40:13 +00:00
parent 054b78bdc0
commit 68f5d46094

View File

@ -2279,11 +2279,11 @@ importCertificate( const char* fingerprint )
return 0; return 0;
} }
/* // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
// // // //
// Continuation of CryptPlug code // // Continuation of CryptPlug code //
// // // //
// // // // // // // // // // // // // // // // // // // // // // // // //*/ // // // // // // // // // // // // // // // // // // // // // // // // //
/* /*
@ -2299,7 +2299,7 @@ bool findCertificates( const char* addressee,
int* newSize, int* newSize,
bool secretOnly ) bool secretOnly )
{ {
#define MAXCERTS 1024; #define MAXCERTS 1024
/* use const char declarations since all of them are needed twice */ /* use const char declarations since all of them are needed twice */
const char* delimiter = "\1"; const char* delimiter = "\1";
const char* openBracket = " ("; const char* openBracket = " (";
@ -2356,7 +2356,7 @@ bool findCertificates( const char* addressee,
dn = NULL; dn = NULL;
FPRs[nFound ] = xstrdup( s2 ); FPRs[nFound ] = xstrdup( s2 );
++nFound; ++nFound;
if( nFound >= maxCerts ) { if( nFound >= MAXCERTS ) {
fprintf( stderr, fprintf( stderr,
"gpgme: findCertificates found too many certificates (%d)\n", "gpgme: findCertificates found too many certificates (%d)\n",
MAXCERTS ); MAXCERTS );