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)
This commit is contained in:
Dimitri Papadopoulos 2023-09-13 20:50:11 +02:00 committed by Pauli
parent 798d69c867
commit 10fe5e29ca
10 changed files with 19 additions and 18 deletions

View File

@ -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]

View 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>>

View 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

View 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;

View 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:

View 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:

View 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; \
\

View 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? */

View 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

View 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.
*/