Skip to content

Commit 124bb89

Browse files
committed
Fixing spelling mistakes
1 parent 483634f commit 124bb89

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Diff for: src/tls/bearssl/bearssl_rsa.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ br_rsa_compute_pubexp br_rsa_compute_pubexp_get_default(void);
12941294
* require also a copy of the complete private exponent (non-reduced),
12951295
* which this function recomputes.
12961296
*
1297-
* This function suceeds if all the following conditions hold:
1297+
* This function succeeds if all the following conditions hold:
12981298
*
12991299
* - Both private factors `p` and `q` are equal to 3 modulo 4.
13001300
*

Diff for: src/tls/bearssl/bearssl_ssl.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ typedef struct {
830830
/**
831831
* \brief Context structure for SSL engine.
832832
*
833-
* This strucuture is common to the client and server; both the client
833+
* This structure is common to the client and server; both the client
834834
* context (`br_ssl_client_context`) and the server context
835835
* (`br_ssl_server_context`) include a `br_ssl_engine_context` as their
836836
* first field.
@@ -2614,7 +2614,7 @@ struct br_ssl_client_context_ {
26142614
uint16_t min_clienthello_len;
26152615

26162616
/*
2617-
* Bit field for algoithms (hash + signature) supported by the
2617+
* Bit field for algorithms (hash + signature) supported by the
26182618
* server when requesting a client certificate.
26192619
*/
26202620
uint32_t hashes;

Diff for: src/tls/bearssl/ec_p256_m31.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ add_f256(uint32_t *d, const uint32_t *a, const uint32_t *b)
341341

342342
/*
343343
* Subtraction in the field. Source operands shall be smaller than twice
344-
* the modulus; the result will fulfil the same property.
344+
* the modulus; the result will fulfill the same property.
345345
*/
346346
static void
347347
sub_f256(uint32_t *d, const uint32_t *a, const uint32_t *b)

Diff for: src/tls/bearssl/inner.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ br_multihash_copyimpl(br_multihash_context *dst,
724724
* intN_t to uintN_t really is conversion modulo 2^N. Beware that intN_t
725725
* types, being signed, trigger implementation-defined behaviour on
726726
* overflow (including raising some signal): with GCC, while modular
727-
* arithmetics are usually applied, the optimizer may assume that
727+
* arithmetic is usually applied, the optimizer may assume that
728728
* overflows don't occur (unless the -fwrapv command-line option is
729729
* added); Clang has the additional -ftrapv option to explicitly trap on
730730
* integer overflow or underflow.
@@ -1627,7 +1627,7 @@ void br_des_do_invIP(uint32_t *xl, uint32_t *xr);
16271627
/*
16281628
* Key schedule unit: for a DES key (8 bytes), compute 16 subkeys. Each
16291629
* subkey is two 28-bit words represented as two 32-bit words; the PC-2
1630-
* bit extration is NOT applied.
1630+
* bit exctration is NOT applied.
16311631
*/
16321632
void br_des_keysched_unit(uint32_t *skey, const void *key);
16331633

Diff for: src/tls/bearssl/x509_minimal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void br_x509_minimal_run(void *t0ctx);
157157
* -- Extensions: extension values are processed in due order.
158158
*
159159
* -- Basic Constraints: for all certificates except EE, must be
160-
* present, indicate a CA, and have a path legnth compatible with
160+
* present, indicate a CA, and have a path length compatible with
161161
* the chain length so far.
162162
*
163163
* -- Key Usage: for the EE, if present, must allow signatures

0 commit comments

Comments
 (0)