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 c5f39fe9efd8fbb90fbb56b63260a30df516725d..2735e87e4ddd742a8366370fc9548a8b953c0324 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 32d9efe17c4d9f7f53e4efe9f514e81463329889..4d182bab9ef6a8d0c789dfe322ae6cb3bc130fbc 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,