From e0da4fbd31c24131cba1a2b22a3a3eaf1636a6e8 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. --- gpgmeplug/ChangeLog | 4 ++++ gpgmeplug/gpgmeplug.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gpgmeplug/ChangeLog b/gpgmeplug/ChangeLog index c5f39fe..2735e87 100644 --- a/gpgmeplug/ChangeLog +++ b/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/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 32d9efe..4d182ba 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/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