2001-11-29 Marcus Brinkmann <marcus@g10code.de>

* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
This commit is contained in:
Marcus Brinkmann 2001-12-05 13:21:04 +00:00
parent ee33d9f146
commit e0da4fbd31
2 changed files with 5 additions and 0 deletions

View 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.

View 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,