From 42b0e9558a308dbc954ee60c3d346b5cabcd2fdb Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 12 May 2024 18:09:23 -0400 Subject: indent: Fix spelling -- These are non-substantive corrections for minor spelling mistakes within the GnuPG codebase. With something like this applied to the codebase, and a judiciously tuned spellchecker integrated as part of a standard test suite, it should be possible to keep a uniform orthography within the project. GnuPG-bug-id: 7116 --- g10/getkey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'g10/getkey.c') diff --git a/g10/getkey.c b/g10/getkey.c index f2d1e7d7b..015420173 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -446,7 +446,7 @@ leave: /* Same as get_pubkey but if the key was not found the function tries - * to import it from LDAP. FIXME: We should not need this but swicth + * to import it from LDAP. FIXME: We should not need this but switch * to a fingerprint lookup. */ gpg_error_t get_pubkey_with_ldap_fallback (ctrl_t ctrl, PKT_public_key *pk, u32 *keyid) @@ -992,7 +992,7 @@ get_pubkey_byname (ctrl_t ctrl, enum get_pubkey_modes mode, /* If we are called due to --locate-external-key Check whether NAME * is a fingerprint and then try to lookup that key by configured * method which support lookup by fingerprint. FPRBUF carries the - * parsed fingerpint iff IS_FPR is true. */ + * parsed fingerprint iff IS_FPR is true. */ is_fpr = 0; if (!is_mbox && mode == GET_PUBKEY_NO_LOCAL) { @@ -2525,7 +2525,7 @@ parse_key_usage (PKT_signature * sig) /* Apply information from SIGNODE (which is the valid self-signature * associated with that UID) to the UIDNODE: - * - wether the UID has been revoked + * - whether the UID has been revoked * - assumed creation date of the UID * - temporary store the keyflags here * - temporary store the key expiration time here -- cgit v1.2.3