From 39db13330a772d6c1b445cb7b843b576cc9d9ec5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 5 Dec 2001 13:21:04 +0000 Subject: [PATCH] 2001-11-29 Marcus Brinkmann * gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol. --- trunk/gpgmeplug/ChangeLog | 4 ++++ trunk/gpgmeplug/gpgmeplug.c | 1 + 2 files changed, 5 insertions(+) diff --git a/trunk/gpgmeplug/ChangeLog b/trunk/gpgmeplug/ChangeLog index c5f39fe..2735e87 100644 --- a/trunk/gpgmeplug/ChangeLog +++ b/trunk/gpgmeplug/ChangeLog @@ -1,3 +1,7 @@ +2001-11-29 Marcus Brinkmann + + * gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol. + 2001-11-24 Marcus Brinkmann * Makefile.am (libgpgsmplug_la_SOURCES): Fix source file. diff --git a/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index 32d9efe..4d182ba 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/gpgmeplug/gpgmeplug.c @@ -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, -- 2.26.2