2001-11-29 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 5 Dec 2001 13:21:04 +0000 (13:21 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 5 Dec 2001 13:21:04 +0000 (13:21 +0000)
* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.

gpgmeplug/ChangeLog
gpgmeplug/gpgmeplug.c

index c5f39fe..2735e87 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-29  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
+
 2001-11-24  Marcus Brinkmann  <marcus@g10code.de>
 
        * Makefile.am (libgpgsmplug_la_SOURCES): Fix source file.
index 32d9efe..4d182ba 100644 (file)
@@ -832,6 +832,7 @@ bool checkMessageSignature( const char* ciphertext,
     const char* fpr;
 
     gpgme_new( &ctx );
+    gpgme_set_protocol (ctx, GPGMEPLUG_PROTOCOL);
     gpgme_data_new_from_mem( &datapart, ciphertext,
                              1+strlen( ciphertext ), 1 );
     gpgme_data_new_from_mem( &sigpart, signaturetext,