summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-09-13 20:50:11 +0200
committerPauli <pauli@openssl.org>2023-09-18 09:04:22 +1000
commit10fe5e29cad9a9dbaeda3cdc7c62470b21dd7d38 (patch)
tree8526cb1d3e8062bf280585d0ff3bb9da31517877
parent798d69c8670283bdea5c39b03ff573d0c6a6b9fc (diff)
Fix new typos found by codespell
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)
-rw-r--r--NEWS.md2
-rw-r--r--doc/man1/openssl-cms.pod.in2
-rw-r--r--doc/man7/ossl-guide-libraries-introduction.pod4
-rw-r--r--providers/implementations/rands/drbg_ctr.c8
-rw-r--r--providers/implementations/rands/drbg_hash.c6
-rw-r--r--providers/implementations/rands/drbg_hmac.c4
-rw-r--r--providers/implementations/rands/drbg_local.h2
-rw-r--r--ssl/quic/quic_local.h2
-rw-r--r--test/helpers/handshake_srp.c5
-rw-r--r--test/testutil/tests.c2
10 files changed, 19 insertions, 18 deletions
diff --git a/NEWS.md b/NEWS.md
index 6c440b68eb..d0312961df 100644
--- 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]
diff --git a/doc/man1/openssl-cms.pod.in b/doc/man1/openssl-cms.pod.in
index 50845b772e..a3ef9c0181 100644
--- a/doc/man1/openssl-cms.pod.in
+++ b/doc/man1/openssl-cms.pod.in
@@ -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>>
diff --git a/doc/man7/ossl-guide-libraries-introduction.pod b/doc/man7/ossl-guide-libraries-introduction.pod
index 78e0853d8e..d54e98cd86 100644
--- a/doc/man7/ossl-guide-libraries-introduction.pod
+++ b/doc/man7/ossl-guide-libraries-introduction.pod
@@ -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
diff --git a/providers/implementations/rands/drbg_ctr.c b/providers/implementations/rands/drbg_ctr.c
index 2dc51d03c1..cc4ed25cfd 100644
--- a/providers/implementations/rands/drbg_ctr.c
+++ b/providers/implementations/rands/drbg_ctr.c
@@ -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;
diff --git a/providers/implementations/rands/drbg_hash.c b/providers/implementations/rands/drbg_hash.c
index 246aab58c9..a216910d83 100644
--- a/providers/implementations/rands/drbg_hash.c
+++ b/providers/implementations/rands/drbg_hash.c
@@ -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:
diff --git a/providers/implementations/rands/drbg_hmac.c b/providers/implementations/rands/drbg_hmac.c
index ca190a740e..74d47886b4 100644
--- a/providers/implementations/rands/drbg_hmac.c
+++ b/providers/implementations/rands/drbg_hmac.c
@@ -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:
diff --git a/providers/implementations/rands/drbg_local.h b/providers/implementations/rands/drbg_local.h
index dd46593a5f..50f98a0b61 100644
--- a/providers/implementations/rands/drbg_local.h
+++ b/providers/implementations/rands/drbg_local.h
@@ -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; \
\
diff --git a/ssl/quic/quic_local.h b/ssl/quic/quic_local.h
index 063df7796a..928ae4c6bf 100644
--- a/ssl/quic/quic_local.h
+++ b/ssl/quic/quic_local.h
@@ -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? */
diff --git a/test/helpers/handshake_srp.c b/test/helpers/handshake_srp.c
index 43a5a4fd60..95fb101059 100644
--- a/test/helpers/handshake_srp.c
+++ b/test/helpers/handshake_srp.c
@@ -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
diff --git a/test/testutil/tests.c b/test/testutil/tests.c
index 50d4e12e05..efc4fd2b64 100644
--- a/test/testutil/tests.c
+++ b/test/testutil/tests.c
@@ -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.
*/