diff options
author | Werner Koch <wk@gnupg.org> | 2018-04-06 11:01:46 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2018-04-06 11:01:46 +0200 |
commit | cfd07798087f671c134eef056229bb30e08cc77c (patch) | |
tree | 912f412d769629ea662aa0cce7e2bdd62f7e6d28 /g10/keydb.h | |
parent | gpg: Re-indent sig-check.c and use signature class macros. (diff) | |
download | gnupg2-cfd07798087f671c134eef056229bb30e08cc77c.tar.xz gnupg2-cfd07798087f671c134eef056229bb30e08cc77c.zip |
doc: Add a code comment about back signatures.
--
Diffstat (limited to 'g10/keydb.h')
-rw-r--r-- | g10/keydb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/keydb.h b/g10/keydb.h index 627564c3c..cc99241f5 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -26,7 +26,9 @@ #include "../common/util.h" #include "packet.h" -/* What qualifies as a certification (rather than a signature?) */ +/* What qualifies as a certification (key-signature in contrast to a + * data signature)? Note that a back signature is special and can be + * made by key and data signatures capable subkeys.) */ #define IS_CERT(s) (IS_KEY_SIG(s) || IS_UID_SIG(s) || IS_SUBKEY_SIG(s) \ || IS_KEY_REV(s) || IS_UID_REV(s) || IS_SUBKEY_REV(s)) #define IS_SIG(s) (!IS_CERT(s)) |