From 9bc9d0818b0e636a9dbc0dd24edf53eae95dd8e7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 4 May 2020 14:55:34 +0200 Subject: [PATCH] doc: Typo fixes in code comments -- Signed-off-by: Werner Koch --- common/sexputil.c | 2 +- g10/keylist.c | 4 ++-- sm/minip12.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/sexputil.c b/common/sexputil.c index d6860f814..89e63a765 100644 --- a/common/sexputil.c +++ b/common/sexputil.c @@ -113,7 +113,7 @@ log_printcanon (const char *text, const unsigned char *sexp, size_t sexplen) } -/* Print the gcryp S-expression in SEXP in advanced format. With TEXT +/* Print the gcrypt S-expression SEXP in advanced format. With TEXT of NULL print just the raw S-expression, with TEXT just an empty string, print a trailing linefeed, otherwise print an entire debug line. */ diff --git a/g10/keylist.c b/g10/keylist.c index c6bfbcf52..cfa90b612 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -1444,8 +1444,8 @@ list_keyblock_colon (ctrl_t ctrl, kbnode_t keyblock, if (rc) log_error ("error computing a keygrip: %s\n", gpg_strerror (rc)); /* In the error case we print an empty string so that we have a - * "grp" record for each and subkey - even if it is empty. This - * may help to prevent sync problems. */ + * "grp" record for each primary and subkey - even if it is + * empty. This may help to prevent sync problems. */ hexgrip = hexgrip_buffer? hexgrip_buffer : ""; } stubkey = 0; diff --git a/sm/minip12.c b/sm/minip12.c index 9c963d5a2..1e8a49eb5 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -168,7 +168,7 @@ builder_add_oid (tlv_builder_t tb, int class, const char *oid) } -/* Wrapper around tlv_builder_add_ptr to add an MPI. TAG May either +/* Wrapper around tlv_builder_add_ptr to add an MPI. TAG may either * be OCTET_STRING or BIT_STRING. When we eventually put the whole * tlv_builder stuff into Libksba, we can add such a function there. * Right now we don't do this to avoid a dependency on Libksba.