summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2022-08-23 20:45:13 +0200
committerTomas Mraz <tomas@openssl.org>2022-11-23 18:21:53 +0100
commitfee9986c3da13e533d7467df7f792253797f4115 (patch)
tree880b9fdd3e398291c9a03756762ade1e47f549bb /test
parentf24b716f26f0e4956ea5cb049876cf2738e5e38d (diff)
apps & al : Fix various typos, repeated words, align some spelling to LDP.
Mostly revamped from #16712 - fall thru -> fall through - time stamp -> timestamp - host name -> hostname - ipv6 -> IPv6 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19059) (cherry picked from commit 9929c81702381bff54f833d6fe0a3304f4e2b635)
Diffstat (limited to 'test')
-rw-r--r--test/cmp_protect_test.c2
-rw-r--r--test/recipes/80-test_cmp_http.t2
-rw-r--r--test/x509_time_test.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/test/cmp_protect_test.c b/test/cmp_protect_test.c
index 9111b89423..a2cb47ca4b 100644
--- a/test/cmp_protect_test.c
+++ b/test/cmp_protect_test.c
@@ -95,7 +95,7 @@ static int execute_calc_protection_pbmac_test(CMP_PROTECT_TEST_FIXTURE *fixture)
/*
* This function works similarly to parts of CMP_verify_signature in cmp_vfy.c,
- * but without the need for a OSSL_CMP_CTX or a X509 certificate
+ * but without the need for an OSSL_CMP_CTX or a X509 certificate
*/
static int verify_signature(OSSL_CMP_MSG *msg,
ASN1_BIT_STRING *protection,
diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t
index 0ca547354f..e045f29c43 100644
--- a/test/recipes/80-test_cmp_http.t
+++ b/test/recipes/80-test_cmp_http.t
@@ -52,7 +52,7 @@ my @app = qw(openssl cmp);
# the CMP server configuration consists of:
my $ca_dn; # The CA's Distinguished Name
my $server_dn; # The server's Distinguished Name
-my $server_host;# The server's host name or IP address
+my $server_host;# The server's hostname or IP address
my $server_port;# The server's port
my $server_tls; # The server's TLS port, if any, or 0
my $server_path;# The server's CMP alias
diff --git a/test/x509_time_test.c b/test/x509_time_test.c
index 711dfcb5b6..9fa9297cf3 100644
--- a/test/x509_time_test.c
+++ b/test/x509_time_test.c
@@ -72,7 +72,7 @@ static TESTDATA_FORMAT x509_format_tests[] = {
"20170217180105.001Z", 0, 0, -1, NULL,
},
{
- /* time zone, check only */
+ /* timezone, check only */
"20170217180105+0800", 0, 0, -1, NULL,
},
{
@@ -84,7 +84,7 @@ static TESTDATA_FORMAT x509_format_tests[] = {
"20170217180105.001Z", 1, 0, -1, NULL,
},
{
- /* time zone, set string */
+ /* timezone, set string */
"20170217180105+0800", 1, 0, -1, NULL,
},
{
@@ -113,7 +113,7 @@ static TESTDATA_FORMAT x509_format_tests[] = {
"040229180101Z", 0, 1, -1, NULL,
},
{
- /* time zone, check only */
+ /* timezone, check only */
"170217180154+0800", 0, 0, -1, NULL,
},
{
@@ -121,7 +121,7 @@ static TESTDATA_FORMAT x509_format_tests[] = {
"1702171801Z", 1, 0, -1, NULL,
},
{
- /* time zone, set string */
+ /* timezone, set string */
"170217180154+0800", 1, 0, -1, NULL,
},
{