aboutsummaryrefslogtreecommitdiffstats
path: root/sm/decrypt.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2024-05-12 22:09:23 +0000
committerWerner Koch <[email protected]>2024-05-31 10:28:32 +0000
commit42b0e9558a308dbc954ee60c3d346b5cabcd2fdb (patch)
treef073776758cd706a0cadf0bd64073d1669a8d691 /sm/decrypt.c
parentg13: Adjust for changed gnupg_process_spawn. (diff)
downloadgnupg-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.tar.gz
gnupg-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.zip
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
Diffstat (limited to 'sm/decrypt.c')
-rw-r--r--sm/decrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c
index 5a947779f..42267e0de 100644
--- a/sm/decrypt.c
+++ b/sm/decrypt.c
@@ -251,7 +251,7 @@ ecdh_decrypt (unsigned char *secret, size_t secretlen,
log_printhex (secret, secretlen, "ECDH X ..:");
/* We have now the shared secret bytes in (SECRET,SECRETLEN). Now
- * we will compute the KEK using a value dervied from the secret
+ * we will compute the KEK using a value derived from the secret
* bytes. */
err = gcry_sexp_extract_param (enc_val, "enc-val",
"&'encr-algo''wrap-algo''ukm'?s",
@@ -555,7 +555,7 @@ pwri_decrypt (ctrl_t ctrl, gcry_sexp_t enc_val,
ioarray+2, ioarray+3, ioarray+4, NULL);
if (err)
{
- /* If this is not pwri element, it is likly a kekri element
+ /* If this is not pwri element, it is likely a kekri element
* which we do not yet support. Change the error back to the
* original as returned by ksba_cms_get_issuer. */
if (gpg_err_code (err) == GPG_ERR_NOT_FOUND)