summaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-04-28 03:06:33 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2017-04-28 03:06:33 +0200
commit5c8fe5480964c282540c051b538e812851988422 (patch)
tree61da9fb34cfb67875bea2dc259741c0e9b8ca78f /g10/keyedit.c
parentg10: For signing, prefer available card key when no -u option. (diff)
downloadgnupg2-5c8fe5480964c282540c051b538e812851988422.tar.xz
gnupg2-5c8fe5480964c282540c051b538e812851988422.zip
Spelling fixes in docs and comments.
-- In addition, fix trailing spaces in tests/inittests. GnuPG-bug-id: 3121 Reported-by: ka7 (klemens) Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r--g10/keyedit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index a7a5f7209..ba08d88c3 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -1593,7 +1593,7 @@ sign_uids (ctrl_t ctrl, estream_t fp,
continue;
/* Now we can sign the user ids. */
- reloop: /* (Must use this, because we are modifing the list.) */
+ reloop: /* (Must use this, because we are modifying the list.) */
primary_pk = NULL;
for (node = keyblock; node; node = node->next)
{
@@ -4104,7 +4104,7 @@ show_key_with_all_names (ctrl_t ctrl, estream_t fp,
&& pk->seckey_info->is_protected
&& pk->seckey_info->s2k.mode == 1002)
{
- /* FIXME: Check wether this code path is still used. */
+ /* FIXME: Check whether this code path is still used. */
tty_fprintf (fp, "%*s%s", opt.legacy_list_mode? 21:5, "",
_("card-no: "));
if (pk->seckey_info->ivlen == 16
@@ -6361,7 +6361,7 @@ menu_revsig (ctrl_t ctrl, kbnode_t keyblock)
}
/* now we can sign the user ids */
-reloop: /* (must use this, because we are modifing the list) */
+reloop: /* (must use this, because we are modifying the list) */
primary_pk = keyblock->pkt->pkt.public_key;
for (node = keyblock; node; node = node->next)
{
@@ -6641,7 +6641,7 @@ menu_revsubkey (ctrl_t ctrl, kbnode_t pub_keyblock)
if (!reason)
return 0; /* User decided to cancel. */
- reloop: /* (better this way because we are modifing the keyring) */
+ reloop: /* (better this way because we are modifying the keyring) */
mainpk = pub_keyblock->pkt->pkt.public_key;
for (node = pub_keyblock; node; node = node->next)
{