diff options
-rw-r--r-- | gpgmeplug/ChangeLog | 4 | ||||
-rw-r--r-- | gpgmeplug/gpgmeplug.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gpgmeplug/ChangeLog b/gpgmeplug/ChangeLog index c5f39fe9..2735e87e 100644 --- a/gpgmeplug/ChangeLog +++ b/gpgmeplug/ChangeLog @@ -1,3 +1,7 @@ +2001-11-29 Marcus Brinkmann <[email protected]> + + * gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol. + 2001-11-24 Marcus Brinkmann <[email protected]> * Makefile.am (libgpgsmplug_la_SOURCES): Fix source file. diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 32d9efe1..4d182bab 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, |