mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
doc: Add a code comment about back signatures.
--
This commit is contained in:
parent
5ba74a134d
commit
cfd0779808
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue