aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl-Heinz Zimmer <[email protected]>2002-06-28 19:40:13 +0000
committerKarl-Heinz Zimmer <[email protected]>2002-06-28 19:40:13 +0000
commit68f5d46094789b29eacf1b10c559b52cf2dd515e (patch)
tree35ff03adc0a3c68280200397aa6ed4d8dd8b757c
parentRemoved silly "free( dn )" statement forgotten during my last changes in find... (diff)
downloadgpgme-68f5d46094789b29eacf1b10c559b52cf2dd515e.tar.gz
gpgme-68f5d46094789b29eacf1b10c559b52cf2dd515e.zip
Make it compile. :-(
-rw-r--r--gpgmeplug/gpgmeplug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c
index fbaebaf3..9fedff4b 100644
--- a/gpgmeplug/gpgmeplug.c
+++ b/gpgmeplug/gpgmeplug.c
@@ -2279,11 +2279,11 @@ importCertificate( const char* fingerprint )
return 0;
}
-/* // // // // // // // // // // // // // // // // // // // // // // // // //
+ // // // // // // // // // // // // // // // // // // // // // // // // //
// //
// Continuation of CryptPlug code //
// //
-// // // // // // // // // // // // // // // // // // // // // // // // //*/
+// // // // // // // // // // // // // // // // // // // // // // // // //
/*
@@ -2299,7 +2299,7 @@ bool findCertificates( const char* addressee,
int* newSize,
bool secretOnly )
{
-#define MAXCERTS 1024;
+#define MAXCERTS 1024
/* use const char declarations since all of them are needed twice */
const char* delimiter = "\1";
const char* openBracket = " (";
@@ -2356,7 +2356,7 @@ bool findCertificates( const char* addressee,
dn = NULL;
FPRs[nFound ] = xstrdup( s2 );
++nFound;
- if( nFound >= maxCerts ) {
+ if( nFound >= MAXCERTS ) {
fprintf( stderr,
"gpgme: findCertificates found too many certificates (%d)\n",
MAXCERTS );