[Pkg-gnupg-commit] [gnupg2] 120/185: doc: Comment fixes and one trailing comma fix.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Aug 7 11:55:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 33ecb541fcc2e8030989384b5e8c55aeccd21128
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Jul 20 14:49:07 2017 +0200

    doc: Comment fixes and one trailing comma fix.
    
    --
---
 doc/DETAILS        | 4 ++--
 g10/build-packet.c | 4 ++--
 g10/keydb.h        | 2 +-
 g10/packet.h       | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/DETAILS b/doc/DETAILS
index cbeead7..28fb55a 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -1348,7 +1348,7 @@ CREATE TABLE signatures (
   - 1 octet :: Key Source; i.e. the origin of the key:
                - 0 :: Unknown source.
                - 1 :: Public keyserver.
-               - 2 :: Preferred keysrver.
+               - 2 :: Preferred keyserver.
                - 3 :: OpenPGP DANE.
                - 4 :: Web Key Directory.
                - 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
    to be answered as well.  Instead of toggling the predefined flags,
    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).
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 6d00fc5..d4a1d6a 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 803987b..6416e63 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 56ac503..8dca88b 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list