Home GnuPG
Diffusion GPGME 788033527338

Clarify what "checking on bit" means
788033527338Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Clarify what "checking on bit" means

* doc/gpgme.texi (gpgme_sigsum_t summary): Clarify what "you
can check one bit means"

It was unclear which bit to test for is. And tests
with students have shown that they would "test" for
this one bit by using if(sig.summary == GPGME_SIGSUM_VALID)
which would fail because valid sigs are also SIGSUM_GREEN.

So lets give an example for people not used to checking bits and
clarify through this example which bit is meant to be checked.

Details

Provenance
aheineckeAuthored on Dec 7 2016, 9:41 PM
Parents
rM05896c210f7f: python: Try to be more helpful when given a string to encrypt().
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rM788033527338: Clarify what "checking on bit" means (authored by Andre Heinecke <aheinecke@intevation.de>).Dec 7 2016, 9:46 PM