1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-17 15:44:34 +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

@ -1348,7 +1348,7 @@ CREATE TABLE signatures (
- 1 octet :: Key Source; i.e. the origin of the key: - 1 octet :: Key Source; i.e. the origin of the key:
- 0 :: Unknown source. - 0 :: Unknown source.
- 1 :: Public keyserver. - 1 :: Public keyserver.
- 2 :: Preferred keysrver. - 2 :: Preferred keyserver.
- 3 :: OpenPGP DANE. - 3 :: OpenPGP DANE.
- 4 :: Web Key Directory. - 4 :: Web Key Directory.
- 5 :: Import from a trusted URL. - 5 :: Import from a trusted URL.
@ -1538,5 +1538,5 @@ Description of some debug flags:
If one of the "foo/*" names are used a "keygen.flags" prompt needs If one of the "foo/*" names are used a "keygen.flags" prompt needs
to be answered as well. Instead of toggling the predefined flags, to be answered as well. Instead of toggling the predefined flags,
it is also possible to set them direct: Use a "=" character it is also possible to set them direct: Use a "=" character
directly followed by a comination of "a" (for authentication), "s" directly followed by a combination of "a" (for authentication), "s"
(for signing), or "c" (for certification). (for signing), or "c" (for certification).

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 /* Build a packet and write it to the stream OUT. This variant also
* writes the meta data using ring tyrust packets. Returns: 0 on * writes the meta data using ring trust packets. Returns: 0 on
* success or on aerror code. */ * success or on error code. */
gpg_error_t gpg_error_t
build_packet_and_meta (iobuf_t out, PACKET *pkt) build_packet_and_meta (iobuf_t out, PACKET *pkt)
{ {

View File

@ -126,7 +126,7 @@ enum
KEYORG_WKD = 4, /* Web Key Directory. */ KEYORG_WKD = 4, /* Web Key Directory. */
KEYORG_URL = 5, /* Trusted URL. */ KEYORG_URL = 5, /* Trusted URL. */
KEYORG_FILE = 6, /* Trusted file. */ 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. */ /* Subtypes for the ring trust packet. */
#define RING_TRUST_SIG 0 /* The classical signature cache. */ #define RING_TRUST_SIG 0 /* The classical signature cache. */
#define RING_TRUST_KEY 1 /* A KEYSRC on a primary key. */ #define RING_TRUST_KEY 1 /* A KEYORG on a primary key. */
#define RING_TRUST_UID 2 /* A KEYSRC on a user id. */ #define RING_TRUST_UID 2 /* A KEYORG on a user id. */
/* The local only ring trust packet which OpenPGP declares as /* The local only ring trust packet which OpenPGP declares as
* implementation defined. GnuPG uses this to cache signature * implementation defined. GnuPG uses this to cache signature
@ -498,7 +498,7 @@ typedef struct {
unsigned int trustval; unsigned int trustval;
unsigned int sigcache; unsigned int sigcache;
unsigned char subtype; /* The subtype of this ring trust packet. */ 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. */ u32 keyupdate; /* The wall time the key was last updated. */
char *url; /* NULL or the URL of the source. */ char *url; /* NULL or the URL of the source. */
} PKT_ring_trust; } PKT_ring_trust;