diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2022-08-23 20:37:03 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-10-12 16:55:01 +1100 |
commit | c7340583097a80a4fe42bacea745b2bbaa6d16db (patch) | |
tree | f39a93429d9bbc5bdddfc5458512ce8699695e50 /crypto/ts | |
parent | 1567a821a4616f59748fa8982724f88e542867d6 (diff) |
crypto/*: Fix various typos, repeated words, align some spelling to LDP.
partially 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 'crypto/ts')
-rw-r--r-- | crypto/ts/ts_local.h | 2 | ||||
-rw-r--r-- | crypto/ts/ts_rsp_verify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ts/ts_local.h b/crypto/ts/ts_local.h index 4dcb7af960..b0dbd5fdd9 100644 --- a/crypto/ts/ts_local.h +++ b/crypto/ts/ts_local.h @@ -110,7 +110,7 @@ struct TS_resp_ctx { ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */ ASN1_INTEGER *millis; /* accuracy, 0 means not specified. */ ASN1_INTEGER *micros; /* accuracy, 0 means not specified. */ - unsigned clock_precision_digits; /* fraction of seconds in time stamp + unsigned clock_precision_digits; /* fraction of seconds in timestamp * token. */ unsigned flags; /* Optional info, see values above. */ /* Callback functions. */ diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c index 46b47d9595..2dae352d0f 100644 --- a/crypto/ts/ts_rsp_verify.c +++ b/crypto/ts/ts_rsp_verify.c @@ -278,7 +278,7 @@ int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token) } /*- - * Verifies whether the 'token' contains a valid time stamp token + * Verifies whether the 'token' contains a valid timestamp token * with regards to the settings of the context. Only those checks are * carried out that are specified in the context: * - Verifies the signature of the TS_TST_INFO. |