Fix typos found by codespell
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24949)
This commit is contained in:
parent
33adc0767e
commit
7d91d5ba35
12 changed files with 13 additions and 13 deletions
|
@ -802,7 +802,7 @@ $code.=<<___;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
* The bn_div_3_words entry point is re-used for constant-time interface.
|
* The bn_div_3_words entry point is reused for constant-time interface.
|
||||||
* Implementation is retained as historical reference.
|
* Implementation is retained as historical reference.
|
||||||
*/
|
*/
|
||||||
.align 5
|
.align 5
|
||||||
|
|
|
@ -112,7 +112,7 @@ static CRYPTO_ONCE defaults_setup_init = CRYPTO_ONCE_STATIC_INIT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Function to setup default values to run once.
|
* @brief Function to setup default values to run once.
|
||||||
* Only used in Windows environments. Does run time initalization
|
* Only used in Windows environments. Does run time initialization
|
||||||
* of openssldir/modulesdir/enginesdir from the registry
|
* of openssldir/modulesdir/enginesdir from the registry
|
||||||
*/
|
*/
|
||||||
DEFINE_RUN_ONCE_STATIC(do_defaults_setup)
|
DEFINE_RUN_ONCE_STATIC(do_defaults_setup)
|
||||||
|
|
|
@ -249,7 +249,7 @@ int ossl_print_attribute_value(BIO *out,
|
||||||
/* OID-IRI would go here. */
|
/* OID-IRI would go here. */
|
||||||
/* RELATIVE-OID-IRI would go here. */
|
/* RELATIVE-OID-IRI would go here. */
|
||||||
|
|
||||||
/* Would it be approriate to just hexdump? */
|
/* Would it be appropriate to just hexdump? */
|
||||||
default:
|
default:
|
||||||
return BIO_printf(out,
|
return BIO_printf(out,
|
||||||
"%*s<Unsupported tag %d>",
|
"%*s<Unsupported tag %d>",
|
||||||
|
|
|
@ -211,7 +211,7 @@ CRYPTO_mem_debug_push(), and CRYPTO_mem_debug_pop()
|
||||||
are deprecated and are no-ops that always return 0.
|
are deprecated and are no-ops that always return 0.
|
||||||
|
|
||||||
OPENSSL_strtoul() returns 1 on success and 0 in the event that an error has
|
OPENSSL_strtoul() returns 1 on success and 0 in the event that an error has
|
||||||
occured. Specifically, 0 is returned in the following events:
|
occurred. Specifically, 0 is returned in the following events:
|
||||||
|
|
||||||
=over 4
|
=over 4
|
||||||
|
|
||||||
|
@ -231,7 +231,7 @@ If no characters were consumed in the translation
|
||||||
=back
|
=back
|
||||||
|
|
||||||
Note that a success condition does not imply that the expected
|
Note that a success condition does not imply that the expected
|
||||||
translation has been preformed. For instance calling
|
translation has been performed. For instance calling
|
||||||
|
|
||||||
OPENSSL_strtoul("0x12345", &endptr, 10, &num);
|
OPENSSL_strtoul("0x12345", &endptr, 10, &num);
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ choice of preferred pass phrase callback form. These are called indirectly,
|
||||||
through an internal L<OSSL_PASSPHRASE_CALLBACK(3)> function.
|
through an internal L<OSSL_PASSPHRASE_CALLBACK(3)> function.
|
||||||
|
|
||||||
The internal L<OSSL_PASSPHRASE_CALLBACK(3)> function caches the pass phrase, to
|
The internal L<OSSL_PASSPHRASE_CALLBACK(3)> function caches the pass phrase, to
|
||||||
be re-used in all decodings that are performed in the same decoding run (for
|
be reused in all decodings that are performed in the same decoding run (for
|
||||||
example, within one L<OSSL_DECODER_from_bio(3)> call).
|
example, within one L<OSSL_DECODER_from_bio(3)> call).
|
||||||
|
|
||||||
=head2 Input Types
|
=head2 Input Types
|
||||||
|
|
|
@ -80,7 +80,7 @@ least one valid (nonempty) protocol entry in the list.
|
||||||
The SSL_select_next_proto() helper function can be useful from either the ALPN
|
The SSL_select_next_proto() helper function can be useful from either the ALPN
|
||||||
callback or the NPN callback (described below). If no match is found, the first
|
callback or the NPN callback (described below). If no match is found, the first
|
||||||
item in B<client>, B<client_len> is returned in B<out>, B<outlen> and
|
item in B<client>, B<client_len> is returned in B<out>, B<outlen> and
|
||||||
B<OPENSSL_NPN_NO_OVERLAP> is returned. This can be useful when implementating
|
B<OPENSSL_NPN_NO_OVERLAP> is returned. This can be useful when implementing
|
||||||
the NPN callback. In the ALPN case, the value returned in B<out> and B<outlen>
|
the NPN callback. In the ALPN case, the value returned in B<out> and B<outlen>
|
||||||
must be ignored if B<OPENSSL_NPN_NO_OVERLAP> has been returned from
|
must be ignored if B<OPENSSL_NPN_NO_OVERLAP> has been returned from
|
||||||
SSL_select_next_proto().
|
SSL_select_next_proto().
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
* To override strict mode we either need to have a settable variable or have a
|
* To override strict mode we either need to have a settable variable or have a
|
||||||
* fips config flag that overrides strict mode.
|
* fips config flag that overrides strict mode.
|
||||||
* If there are multiple checks, each one could possible have a different
|
* If there are multiple checks, each one could possible have a different
|
||||||
* configurable item. Each configurable item can be overriden by a different
|
* configurable item. Each configurable item can be overridden by a different
|
||||||
* settable.
|
* settable.
|
||||||
*/
|
*/
|
||||||
typedef struct ossl_fips_ind_st {
|
typedef struct ossl_fips_ind_st {
|
||||||
|
|
|
@ -86,7 +86,7 @@ int ossl_ec_check_curve_allowed(const EC_GROUP *group)
|
||||||
const char *curve_name;
|
const char *curve_name;
|
||||||
int nid = EC_GROUP_get_curve_name(group);
|
int nid = EC_GROUP_get_curve_name(group);
|
||||||
|
|
||||||
/* Explict curves are not FIPS approved */
|
/* Explicit curves are not FIPS approved */
|
||||||
if (nid == NID_undef)
|
if (nid == NID_undef)
|
||||||
return 0;
|
return 0;
|
||||||
/* Only NIST curves are FIPS approved */
|
/* Only NIST curves are FIPS approved */
|
||||||
|
|
|
@ -347,7 +347,7 @@ static int tls13_add_record_padding(OSSL_RECORD_LAYER *rl,
|
||||||
* We might want to change the "else if" below so that
|
* We might want to change the "else if" below so that
|
||||||
* library-added padding can still happen even if there
|
* library-added padding can still happen even if there
|
||||||
* is an application-layer callback. The reason being
|
* is an application-layer callback. The reason being
|
||||||
* the application may not be aware that the effectivness
|
* the application may not be aware that the effectiveness
|
||||||
* of ECH could be damaged if the callback e.g. only
|
* of ECH could be damaged if the callback e.g. only
|
||||||
* padded application data. However, doing so would be
|
* padded application data. However, doing so would be
|
||||||
* a change that could break some application that has
|
* a change that could break some application that has
|
||||||
|
|
|
@ -12,7 +12,7 @@ disabled as not supported by some host IP configurations,server domain name, -se
|
||||||
0,server missing argument, -section,, -server,,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
0,server missing argument, -section,, -server,,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
||||||
0,server with default port, -section,, -server,_SERVER_HOST,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
0,server with default port, -section,, -server,_SERVER_HOST,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
||||||
0,server port bad syntax: leading garbage, -section,, -server,_SERVER_HOST:x/+80,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
0,server port bad syntax: leading garbage, -section,, -server,_SERVER_HOST:x/+80,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
||||||
0,server port bad synatx: trailing garbage, -section,, -server,_SERVER_HOST:_SERVER_PORT+/x.,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
0,server port bad syntax: trailing garbage, -section,, -server,_SERVER_HOST:_SERVER_PORT+/x.,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
||||||
0,server with wrong port, -section,, -server,_SERVER_HOST:999,,,,,BLANK,,,,-msg_timeout,1,BLANK,,BLANK,
|
0,server with wrong port, -section,, -server,_SERVER_HOST:999,,,,,BLANK,,,,-msg_timeout,1,BLANK,,BLANK,
|
||||||
TBD,server IP address with TLS port, -section,, -server,_SERVER_IP:_SERVER_TLS,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
TBD,server IP address with TLS port, -section,, -server,_SERVER_IP:_SERVER_TLS,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
|
||||||
,,,,,,,,,,,,,,,,,,,
|
,,,,,,,,,,,,,,,,,,,
|
||||||
|
|
|
|
@ -15,7 +15,7 @@ struct strtoul_test_entry {
|
||||||
char *input; /* the input string */
|
char *input; /* the input string */
|
||||||
int base; /* the base we are converting in */
|
int base; /* the base we are converting in */
|
||||||
unsigned long expect_val; /* the expected value we should get */
|
unsigned long expect_val; /* the expected value we should get */
|
||||||
int expect_err; /* the expected error we expect to recieve */
|
int expect_err; /* the expected error we expect to receive */
|
||||||
size_t expect_endptr_offset; /* the expected endptr offset, +1 for NULL */
|
size_t expect_endptr_offset; /* the expected endptr offset, +1 for NULL */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ else
|
||||||
COMMIT_RANGE=$COMMIT_RANGE^..$COMMIT_RANGE
|
COMMIT_RANGE=$COMMIT_RANGE^..$COMMIT_RANGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create an iteratable list of files to check formatting on,
|
# Create an iterable list of files to check formatting on,
|
||||||
# including the line ranges that are changed by the commits
|
# including the line ranges that are changed by the commits
|
||||||
# It produces output of this format:
|
# It produces output of this format:
|
||||||
# <file name> <change start line>, <change line count>
|
# <file name> <change start line>, <change line count>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue