Strange gpgme_sigsum_t value in gpgme (bug?)

Chuck Swiger cswiger at mac.com
Tue Jun 14 19:37:36 CEST 2011


On Jun 14, 2011, at 9:32 AM, Matthias Klumpp wrote:
[ ... ]
> But instead I get 0x0003 as sigsum, which is not in the enum. This causes
> my application to malfunction.
> Is this a bug, or am I just doing it wrong?

Yes, you're doing it wrong.  That's not an enum, that's a bitfield.
Test for individual flags being set via (sigsum & GPGME_SIGSUM_VALID).

Regards,
-- 
-Chuck




More information about the Gnupg-devel mailing list