aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-07-20 12:49:07 +0000
committerWerner Koch <[email protected]>2017-07-20 16:13:40 +0000
commit33ecb541fcc2e8030989384b5e8c55aeccd21128 (patch)
tree9ea954297e23a90767a3d6c828ff8449ee0e9940 /g10
parentgpg: Make function mk_datestr public. (diff)
downloadgnupg-33ecb541fcc2e8030989384b5e8c55aeccd21128.tar.gz
gnupg-33ecb541fcc2e8030989384b5e8c55aeccd21128.zip
doc: Comment fixes and one trailing comma fix.
--
Diffstat (limited to 'g10')
-rw-r--r--g10/build-packet.c4
-rw-r--r--g10/keydb.h2
-rw-r--r--g10/packet.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 6d00fc5c1..d4a1d6a53 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -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)
{
diff --git a/g10/keydb.h b/g10/keydb.h
index 803987b8c..6416e634d 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -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. */
};
diff --git a/g10/packet.h b/g10/packet.h
index 56ac50376..8dca88b75 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -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;