]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix new typos found by codespell
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Wed, 13 Sep 2023 18:50:11 +0000 (20:50 +0200)
committerPauli <pauli@openssl.org>
Sun, 17 Sep 2023 23:04:22 +0000 (09:04 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22098)

NEWS.md
doc/man1/openssl-cms.pod.in
doc/man7/ossl-guide-libraries-introduction.pod
providers/implementations/rands/drbg_ctr.c
providers/implementations/rands/drbg_hash.c
providers/implementations/rands/drbg_hmac.c
providers/implementations/rands/drbg_local.h
ssl/quic/quic_local.h
test/helpers/handshake_srp.c
test/testutil/tests.c

diff --git a/NEWS.md b/NEWS.md
index 6c440b68eb8172769a36fa1f46acc60b1cfab264..d0312961dfdc8b81b0cde836de8864b8ccf96a04 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
@@ -135,7 +135,7 @@ OpenSSL 3.0
   * Fixed a bug where the RC4-MD5 ciphersuite incorrectly used the
     AAD data as the MAC key ([CVE-2022-1434])
   * Fix a bug in the OPENSSL_LH_flush() function that breaks reuse of the memory
-    occuppied by the removed hash table entries ([CVE-2022-1473])
+    occupied by the removed hash table entries ([CVE-2022-1473])
 
 ### Major changes between OpenSSL 3.0.1 and OpenSSL 3.0.2 [15 Mar 2022]
 
index 50845b772e4ea7f013fc728f4bf1ffe8255d071a..a3ef9c01812055b4b35662ce9de3e2bcdfffdf89 100644 (file)
@@ -402,7 +402,7 @@ option.
 =item I<recipient-cert> ...
 
 This is an alternative to using the B<-recip> option when encrypting a message.
-One or more certificate filennames may be given.
+One or more certificate filenames may be given.
 
 =item B<-I<cipher>>
 
index 78e0853d8e68db83c692513766ee5cd34561e0c4..d54e98cd86396e4b0fd8d017122b956d3aa51878 100644 (file)
@@ -15,12 +15,12 @@ encryption, digital signatures, hash functions, etc. It additionally supplies
 supporting APIs for cryptography related standards, e.g. for reading and writing
 digital certificates (also known as X.509 certificates). Finally it also
 supplies various additional supporting APIs that are not directly cryptography
-related but are nonetheless useful and dependended upon by other APIs. For
+related but are nonetheless useful and depended upon by other APIs. For
 example the "BIO" functions provide capabilities for abstracting I/O, e.g. via a
 file or over a network.
 
 The C<libssl> library provides functions to perform secure communication between
-two peers across a network. Most signficiantly it implements support for the
+two peers across a network. Most significantly it implements support for the
 SSL/TLS, DTLS and QUIC standards.
 
 The C<libssl> library depends on and uses many of the capabilities supplied by
index 2dc51d03c16533bed2f9bf1b9d66a1b517c046c4..cc4ed25cfd722c26c15f96d65cc98ef6c20ea69c 100644 (file)
@@ -507,10 +507,10 @@ static int drbg_ctr_verify_zeroization(void *vdrbg)
     if (drbg->lock != NULL && !CRYPTO_THREAD_read_lock(drbg->lock))
         return 0;
 
-    PROV_DRBG_VERYIFY_ZEROIZATION(ctr->K);
-    PROV_DRBG_VERYIFY_ZEROIZATION(ctr->V);
-    PROV_DRBG_VERYIFY_ZEROIZATION(ctr->bltmp);
-    PROV_DRBG_VERYIFY_ZEROIZATION(ctr->KX);
+    PROV_DRBG_VERIFY_ZEROIZATION(ctr->K);
+    PROV_DRBG_VERIFY_ZEROIZATION(ctr->V);
+    PROV_DRBG_VERIFY_ZEROIZATION(ctr->bltmp);
+    PROV_DRBG_VERIFY_ZEROIZATION(ctr->KX);
     if (ctr->bltmp_pos != 0)
         goto err;
 
index 246aab58c96c07658cb7aebcccef0e435fed298d..a216910d831a9164dc9f9519c7654e14db13a1a6 100644 (file)
@@ -405,9 +405,9 @@ static int drbg_hash_verify_zeroization(void *vdrbg)
     if (drbg->lock != NULL && !CRYPTO_THREAD_read_lock(drbg->lock))
         return 0;
 
-    PROV_DRBG_VERYIFY_ZEROIZATION(hash->V);
-    PROV_DRBG_VERYIFY_ZEROIZATION(hash->C);
-    PROV_DRBG_VERYIFY_ZEROIZATION(hash->vtmp);
+    PROV_DRBG_VERIFY_ZEROIZATION(hash->V);
+    PROV_DRBG_VERIFY_ZEROIZATION(hash->C);
+    PROV_DRBG_VERIFY_ZEROIZATION(hash->vtmp);
 
     ret = 1;
  err:
index ca190a740e4ca57e36f2ac8c2b44591fee8b1038..74d47886b4444a5089952d8a6be352c9bad0a137 100644 (file)
@@ -298,8 +298,8 @@ static int drbg_hmac_verify_zeroization(void *vdrbg)
     if (drbg->lock != NULL && !CRYPTO_THREAD_read_lock(drbg->lock))
         return 0;
 
-    PROV_DRBG_VERYIFY_ZEROIZATION(hmac->K);
-    PROV_DRBG_VERYIFY_ZEROIZATION(hmac->V);
+    PROV_DRBG_VERIFY_ZEROIZATION(hmac->K);
+    PROV_DRBG_VERIFY_ZEROIZATION(hmac->V);
 
     ret = 1;
  err:
index dd46593a5f0967dd00b857227031c2195a9d9a47..50f98a0b61ca3368c0309afd42c78827724f26a3 100644 (file)
@@ -206,7 +206,7 @@ OSSL_FUNC_rand_get_seed_fn ossl_drbg_get_seed;
 OSSL_FUNC_rand_clear_seed_fn ossl_drbg_clear_seed;
 
 /* Verify that an array of numeric values is all zero */
-#define PROV_DRBG_VERYIFY_ZEROIZATION(v)    \
+#define PROV_DRBG_VERIFY_ZEROIZATION(v)     \
     {                                       \
         size_t i;                           \
                                             \
index 063df7796a2410f6d5539336943fcd1546176c22..928ae4c6bf3f90c2889c9ed41a438f9aafefb738 100644 (file)
@@ -69,7 +69,7 @@ struct quic_xso_st {
      *         b2 must equal b1 (validated unless ACCEPT_MOVING_WRITE_BUFFER)
      *         l2 must equal l1 (always validated)
      *         append into sstream from [b2 + aon_buf_pos, b2 + aon_buf_len)
-     *         if done, aon_write_in_progess=0
+     *         if done, aon_write_in_progress=0
      *
      */
     /* Is an AON write in progress? */
index 43a5a4fd605a54176997f666186ed315fd90db75..95fb101059f2e4d1fecb6a4aa97fc032e041972e 100644 (file)
@@ -8,8 +8,9 @@
  */
 
 /*
- * SRP is deprecated and there is no replacent. When SRP is removed, the code in
- * this file can be removed too. Until then we have to use the deprecated APIs.
+ * SRP is deprecated and there is no replacement. When SRP is removed,
+ * the code in this file can be removed too. Until then we have to use
+ * the deprecated APIs.
  */
 #define OPENSSL_SUPPRESS_DEPRECATED
 
index 50d4e12e054d72ea31fd3ced8b05111c39ec73e4..efc4fd2b649a7910a13c453c6d899335dffa057f 100644 (file)
@@ -18,7 +18,7 @@
 
 /*
  * Output a failed test first line.
- * All items are optional are generally not preinted if passed as NULL.
+ * All items are optional are generally not printed if passed as NULL.
  * The special cases are for prefix where "ERROR" is assumed and for left
  * and right where a non-failure message is produced if either is NULL.
  */