diff options
-rw-r--r-- | gpgmeplug/ChangeLog | 5 | ||||
-rw-r--r-- | gpgmeplug/gpgmeplug.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gpgmeplug/ChangeLog b/gpgmeplug/ChangeLog index dd359c39..d9c6d9d4 100644 --- a/gpgmeplug/ChangeLog +++ b/gpgmeplug/ChangeLog @@ -1,3 +1,8 @@ +2002-10-12 Marcus Brinkmann <[email protected]> + + * gpgmeplug.c (checkMessageSignature): Update call to + gpgme_op_verify to use new arguments. + 2002-09-20 Werner Koch <[email protected]> * gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn. diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 03d3dbe5..8ab9946f 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/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 ); |