summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-08-11 10:15:22 -0400
committerRich Salz <rsalz@openssl.org>2017-08-11 10:16:33 -0400
commit44e699515568abcae0e77d7315f9b5e393daa6d9 (patch)
tree6ae18242aeeab06ea032a3642fcf475835e81c5c /test
parent710769f0a9ed6b758bbf7ffa217c21b47f31a8a6 (diff)
Fix some Typos and indents
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4108)
Diffstat (limited to 'test')
-rw-r--r--test/README.external2
-rw-r--r--test/handshake_helper.c2
-rw-r--r--test/secmemtest.c2
-rw-r--r--test/ssltest_old.c2
-rw-r--r--test/tls13secretstest.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/test/README.external b/test/README.external
index b4b011b5ca..ab0f7c2791 100644
--- a/test/README.external
+++ b/test/README.external
@@ -126,7 +126,7 @@ explicitly run (with more debugging):
$ VERBOSE=1 make TESTS=test_external_krb5 test
-Test failures supressions
+Test-failures suppressions
-------------------------
krb5 will automatically adapt its test suite to account for the configuration
diff --git a/test/handshake_helper.c b/test/handshake_helper.c
index 6584e4db1e..d200332771 100644
--- a/test/handshake_helper.c
+++ b/test/handshake_helper.c
@@ -855,7 +855,7 @@ static void do_reneg_setup_step(const SSL_TEST_CTX *test_ctx, PEER *peer)
if (!SSL_renegotiate_pending(peer->ssl)) {
/*
* If we are the client we will always attempt to resume the
- * session. The server may or may not resume dependant on the
+ * session. The server may or may not resume dependent on the
* setting of SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
*/
if (SSL_is_server(peer->ssl)) {
diff --git a/test/secmemtest.c b/test/secmemtest.c
index a6ccc3b26c..9efa2c89d5 100644
--- a/test/secmemtest.c
+++ b/test/secmemtest.c
@@ -32,7 +32,7 @@ static int test_sec_mem(void)
if (!TEST_ptr(p)
/* r = non-secure 20, p = secure 20, s = non-secure 20 */
|| !TEST_true(CRYPTO_secure_allocated(p))
- /* 20 secure -> 32-byte minimum allocaton unit */
+ /* 20 secure -> 32-byte minimum allocation unit */
|| !TEST_size_t_eq(CRYPTO_secure_used(), 32))
goto end;
q = OPENSSL_malloc(20);
diff --git a/test/ssltest_old.c b/test/ssltest_old.c
index 37e980d38f..3a8d9b2637 100644
--- a/test/ssltest_old.c
+++ b/test/ssltest_old.c
@@ -2144,7 +2144,7 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
* Useful functions for querying the state of BIO pair endpoints:
*
* BIO_ctrl_pending(bio) number of bytes we can read now
- * BIO_ctrl_get_read_request(bio) number of bytes needed to fulfil
+ * BIO_ctrl_get_read_request(bio) number of bytes needed to fulfill
* other side's read attempt
* BIO_ctrl_get_write_guarantee(bio) number of bytes we can write now
*
diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c
index 9f32fdf7b2..1c47e4175c 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -289,7 +289,7 @@ static int test_handshake_secrets(void)
if (!TEST_true(tls13_generate_handshake_secret(s, ecdhe_secret,
sizeof(ecdhe_secret)))) {
- TEST_info("Hanshake secret generation failed");
+ TEST_info("Handshake secret generation failed");
goto err;
}