diff options
author | Antoine Cœur <coeur@gmx.fr> | 2019-07-02 10:04:04 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-07-02 14:22:29 +0200 |
commit | c2969ff6e70b10f71fbd97c1d0b0cffc92bd69df (patch) | |
tree | 31e1c94c18598574c6074468cffbf16602f98a15 /test | |
parent | test/p_test.c: silence -Wstringop-overflow (diff) | |
download | openssl-c2969ff6e70b10f71fbd97c1d0b0cffc92bd69df.tar.xz openssl-c2969ff6e70b10f71fbd97c1d0b0cffc92bd69df.zip |
Fix Typos
CLA: trivial
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9288)
Diffstat (limited to 'test')
-rw-r--r-- | test/asn1_time_test.c | 4 | ||||
-rw-r--r-- | test/drbgtest.c | 2 | ||||
-rw-r--r-- | test/dtlstest.c | 2 | ||||
-rw-r--r-- | test/evp_extra_test.c | 2 | ||||
-rw-r--r-- | test/params_test.c | 6 | ||||
-rw-r--r-- | test/ssltestlib.c | 2 | ||||
-rw-r--r-- | test/tls13secretstest.c | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/test/asn1_time_test.c b/test/asn1_time_test.c index 3edc78d032..a619b37302 100644 --- a/test/asn1_time_test.c +++ b/test/asn1_time_test.c @@ -24,8 +24,8 @@ struct testdata { int expected_type; /* expected type after set/set_string_gmt */ int check_result; /* check result */ time_t t; /* expected time_t*/ - int cmp_result; /* compariston to baseline result */ - int convert_result; /* convertion result */ + int cmp_result; /* comparison to baseline result */ + int convert_result; /* conversion result */ }; static struct testdata tbl_testdata_pos[] = { diff --git a/test/drbgtest.c b/test/drbgtest.c index f75c432724..9efdd87a4d 100644 --- a/test/drbgtest.c +++ b/test/drbgtest.c @@ -332,7 +332,7 @@ static int error_check(DRBG_SELFTEST_DATA *td) * Personalisation string tests */ - /* Test detection of too large personlisation string */ + /* Test detection of too large personalisation string */ if (!init(drbg, td, &t) || RAND_DRBG_instantiate(drbg, td->pers, drbg->max_perslen + 1) > 0) goto err; diff --git a/test/dtlstest.c b/test/dtlstest.c index 98a23f858c..2484862860 100644 --- a/test/dtlstest.c +++ b/test/dtlstest.c @@ -96,7 +96,7 @@ static int test_dtls_unprocessed(int testidx) /* * Create the connection. We use "create_bare_ssl_connection" here so that - * we can force the connection to not do "SSL_read" once partly conencted. + * we can force the connection to not do "SSL_read" once partly connected. * We don't want to accidentally read the dummy records we injected because * they will fail to decrypt. */ diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index 27ce98a409..fc3d6283ac 100644 --- a/test/evp_extra_test.c +++ b/test/evp_extra_test.c @@ -1178,7 +1178,7 @@ static int test_EVP_MD_fetch(int tst) md = NULL; /* - * Explicitly asking for the default implementation should succeeed except + * Explicitly asking for the default implementation should succeed except * in test 4 where the default provider is not loaded. */ md = EVP_MD_fetch(ctx, "SHA256", "default=yes"); diff --git a/test/params_test.c b/test/params_test.c index 50beb170ba..339a51694f 100644 --- a/test/params_test.c +++ b/test/params_test.c @@ -46,13 +46,13 @@ struct object_st { double p2; /* * Documented as an arbitrarly large unsigned integer. - * The data size must be large enough to accomodate. + * The data size must be large enough to accommodate. * Assumed data type OSSL_PARAM_UNSIGNED_INTEGER */ BIGNUM *p3; /* * Documented as a C string. - * The data size must be large enough to accomodate. + * The data size must be large enough to accommodate. * Assumed data type OSSL_PARAM_UTF8_STRING */ char *p4; @@ -293,7 +293,7 @@ static const struct provider_dispatch_st provider_api = { /* In all our tests, these are variables that get manipulated as parameters * - * These arrays consistenly do nothing with the "p2" parameter, and + * These arrays consistently do nothing with the "p2" parameter, and * always include a "foo" parameter. This is to check that the * set_params and get_params calls ignore the lack of parameters that * the application isn't interested in, as well as ignore parameters diff --git a/test/ssltestlib.c b/test/ssltestlib.c index 4cabc1fbb3..67d8cd0284 100644 --- a/test/ssltestlib.c +++ b/test/ssltestlib.c @@ -1036,7 +1036,7 @@ int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want) /* * We attempt to read some data on the client side which we expect to fail. * This will ensure we have received the NewSessionTicket in TLSv1.3 where - * appropriate. We do this twice because there are 2 NewSesionTickets. + * appropriate. We do this twice because there are 2 NewSessionTickets. */ for (i = 0; i < 2; i++) { if (SSL_read_ex(clientssl, &buf, sizeof(buf), &readbytes) > 0) { diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c index 490e7c9dc9..4756faac00 100644 --- a/test/tls13secretstest.c +++ b/test/tls13secretstest.c @@ -17,7 +17,7 @@ #define KEYLEN 16 /* - * Based on the test vectors availble in: + * Based on the test vectors available in: * https://tools.ietf.org/html/draft-ietf-tls-tls13-vectors-06 */ |