1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

doc: Comment fixes and one trailing comma fix.

--
This commit is contained in:
Werner Koch 2017-07-20 14:49:07 +02:00
parent 3ee314dde1
commit 33ecb541fc
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
4 changed files with 8 additions and 8 deletions

View file

@ -182,8 +182,8 @@ build_packet (IOBUF out, PACKET *pkt)
/* Build a packet and write it to the stream OUT. This variant also
* writes the meta data using ring tyrust packets. Returns: 0 on
* success or on aerror code. */
* writes the meta data using ring trust packets. Returns: 0 on
* success or on error code. */
gpg_error_t
build_packet_and_meta (iobuf_t out, PACKET *pkt)
{

View file

@ -126,7 +126,7 @@ enum
KEYORG_WKD = 4, /* Web Key Directory. */
KEYORG_URL = 5, /* Trusted URL. */
KEYORG_FILE = 6, /* Trusted file. */
KEYORG_SELF = 7, /* We generated it. */
KEYORG_SELF = 7 /* We generated it. */
};

View file

@ -485,8 +485,8 @@ typedef struct {
/* Subtypes for the ring trust packet. */
#define RING_TRUST_SIG 0 /* The classical signature cache. */
#define RING_TRUST_KEY 1 /* A KEYSRC on a primary key. */
#define RING_TRUST_UID 2 /* A KEYSRC on a user id. */
#define RING_TRUST_KEY 1 /* A KEYORG on a primary key. */
#define RING_TRUST_UID 2 /* A KEYORG on a user id. */
/* The local only ring trust packet which OpenPGP declares as
* implementation defined. GnuPG uses this to cache signature
@ -498,7 +498,7 @@ typedef struct {
unsigned int trustval;
unsigned int sigcache;
unsigned char subtype; /* The subtype of this ring trust packet. */
unsigned char keyorg; /* The origin of the key (KEYSRC_*). */
unsigned char keyorg; /* The origin of the key (KEYORG_*). */
u32 keyupdate; /* The wall time the key was last updated. */
char *url; /* NULL or the URL of the source. */
} PKT_ring_trust;