From 58fda3df4fbb13b5f05c284228977806a7523731 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sat, 12 Oct 2002 14:32:01 +0000 Subject: [PATCH] 2002-10-12 Marcus Brinkmann * gpgmeplug.c (checkMessageSignature): Update call to gpgme_op_verify to use new arguments. --- trunk/gpgmeplug/ChangeLog | 5 +++++ trunk/gpgmeplug/gpgmeplug.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/trunk/gpgmeplug/ChangeLog b/trunk/gpgmeplug/ChangeLog index dd359c3..d9c6d9d 100644 --- a/trunk/gpgmeplug/ChangeLog +++ b/trunk/gpgmeplug/ChangeLog @@ -1,3 +1,8 @@ +2002-10-12 Marcus Brinkmann + + * gpgmeplug.c (checkMessageSignature): Update call to + gpgme_op_verify to use new arguments. + 2002-09-20 Werner Koch * gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn. diff --git a/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index 03d3dbe..8ab9946 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/gpgmeplug/gpgmeplug.c @@ -2761,7 +2761,8 @@ bool checkMessageSignature( char** cleartext, : strlen( signaturetext ), 1 ); - gpgme_op_verify( ctx, sigpart, datapart, &status ); + gpgme_op_verify( ctx, sigpart, isOpaqueSigned ? NULL : datapart, + isOpaqueSigned ? datapart : NULL, &status ); if( isOpaqueSigned ) { rClear = gpgme_data_release_and_get_mem( datapart, &clearLen ); -- 2.26.2