diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2022-08-23 20:45:13 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-10-12 16:55:28 +1100 |
commit | 9929c81702381bff54f833d6fe0a3304f4e2b635 (patch) | |
tree | 7526b6e7a38f56eda999a11db3c74858ca90bde0 /apps | |
parent | d7f3a2cc8691c062ef5bdeef28b66f80c8f7d5c3 (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)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/demoSRP/srp_verifier.txt | 2 | ||||
-rw-r--r-- | apps/dhparam.c | 4 | ||||
-rw-r--r-- | apps/engine.c | 2 | ||||
-rw-r--r-- | apps/lib/apps.c | 2 | ||||
-rw-r--r-- | apps/lib/s_socket.c | 4 | ||||
-rw-r--r-- | apps/verify.c | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/apps/demoSRP/srp_verifier.txt b/apps/demoSRP/srp_verifier.txt index c2d5c60336..50a52c152c 100644 --- a/apps/demoSRP/srp_verifier.txt +++ b/apps/demoSRP/srp_verifier.txt @@ -1,6 +1,6 @@ # This is a file that will be filled by the openssl srp routine. # You can initialize the file with additional groups, these are -# records starting with a I followed by the g and N values and the id. +# records starting with an I followed by the g and N values and the id. # The exact values ... you have to dig this out from the source of srp.c # or srp_vfy.c # The last value of an I is used as the default group for new users. diff --git a/apps/dhparam.c b/apps/dhparam.c index 93a858d746..a41e70fe38 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -283,7 +283,7 @@ int dhparam_main(int argc, char **argv) * because, unlike PEM, there is no header to declare what * the contents of the DER file are. The decoders just try * and guess. Unfortunately with DHX key types they may guess - * wrong and think we have a DSA keytype. Therefore we try + * wrong and think we have a DSA keytype. Therefore, we try * both DH and DHX sequentially. */ keytype = "DHX"; @@ -365,7 +365,7 @@ int dhparam_main(int argc, char **argv) } /* - * Historically we had the low level call DSA_dup_DH() to do this. + * Historically we had the low-level call DSA_dup_DH() to do this. * That is now deprecated with no replacement. Since we still need to do this * for backwards compatibility reasons, we do it "manually". */ diff --git a/apps/engine.c b/apps/engine.c index 1b0f64309c..dc57dc7465 100644 --- a/apps/engine.c +++ b/apps/engine.c @@ -347,7 +347,7 @@ int engine_main(int argc, char **argv) break; case OPT_TT: test_avail_noise++; - /* fall thru */ + /* fall through */ case OPT_T: test_avail++; break; diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 9d65797a91..b51afba898 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -1012,7 +1012,7 @@ int load_key_certs_crls(const char *uri, int format, int maybe_stdin, * so if the caller asked for a public key, and we got a private * key, we can still pass it back. */ - /* fall thru */ + /* fall through */ case OSSL_STORE_INFO_PUBKEY: if (ppubkey != NULL) { ok = (*ppubkey = OSSL_STORE_INFO_get1_PUBKEY(info)) != NULL; diff --git a/apps/lib/s_socket.c b/apps/lib/s_socket.c index a9e1e5bd9b..4d31e82032 100644 --- a/apps/lib/s_socket.c +++ b/apps/lib/s_socket.c @@ -56,7 +56,7 @@ BIO_ADDR *ourpeer = NULL; /* * init_client - helper routine to set up socket communication * @sock: pointer to storage of resulting socket. - * @host: the host name or path (for AF_UNIX) to connect to. + * @host: the hostname or path (for AF_UNIX) to connect to. * @port: the port to connect to (ignored for AF_UNIX). * @bindhost: source host or path (for AF_UNIX). * @bindport: source port (ignored for AF_UNIX). @@ -274,7 +274,7 @@ int report_server_accept(BIO *out, int asock, int with_address, int with_pid) /* * do_server - helper routine to perform a server operation * @accept_sock: pointer to storage of resulting socket. - * @host: the host name or path (for AF_UNIX) to connect to. + * @host: the hostname or path (for AF_UNIX) to connect to. * @port: the port to connect to (ignored for AF_UNIX). * @family: desired socket family, may be AF_INET, AF_INET6, AF_UNIX or * AF_UNSPEC diff --git a/apps/verify.c b/apps/verify.c index 8fc3fc6550..93b214281e 100644 --- a/apps/verify.c +++ b/apps/verify.c @@ -352,7 +352,7 @@ static int cb(int ok, X509_STORE_CTX *ctx) switch (cert_error) { case X509_V_ERR_NO_EXPLICIT_POLICY: policies_print(ctx); - /* fall thru */ + /* fall through */ case X509_V_ERR_CERT_HAS_EXPIRED: /* Continue even if the leaf is a self-signed cert */ case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: |