aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2001-12-05 13:21:04 +0000
committerMarcus Brinkmann <[email protected]>2001-12-05 13:21:04 +0000
commite0da4fbd31c24131cba1a2b22a3a3eaf1636a6e8 (patch)
treef331500f019a31f9a27fd8e98050c509f66b7987
parentadded error detection to signing and encrypting methodes: this has to be impr... (diff)
downloadgpgme-e0da4fbd31c24131cba1a2b22a3a3eaf1636a6e8.tar.gz
gpgme-e0da4fbd31c24131cba1a2b22a3a3eaf1636a6e8.zip
2001-11-29 Marcus Brinkmann <[email protected]>
* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
-rw-r--r--gpgmeplug/ChangeLog4
-rw-r--r--gpgmeplug/gpgmeplug.c1
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,