2002-10-12 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sat, 12 Oct 2002 14:32:01 +0000 (14:32 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sat, 12 Oct 2002 14:32:01 +0000 (14:32 +0000)
* gpgmeplug.c (checkMessageSignature): Update call to
gpgme_op_verify to use new arguments.

gpgmeplug/ChangeLog
gpgmeplug/gpgmeplug.c

index dd359c3931ccd4a6b96c9b62e26ced69f6fa8be0..d9c6d9d4b5f28703bfcc11fc5f7beb2664720aaa 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-12  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgmeplug.c (checkMessageSignature): Update call to
+       gpgme_op_verify to use new arguments.
+
 2002-09-20  Werner Koch  <wk@gnupg.org>
 
        * gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn.
index 03d3dbe580e5cfc4d1e4a674dccde9f7c56cad7b..8ab9946f7553e6b5eacabdb59c1c7d1298b91f96 100644 (file)
@@ -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 );