summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2022-01-03 01:00:27 +0200
committerTomas Mraz <tomas@openssl.org>2022-01-05 12:37:20 +0100
commite304aa87b35fac5ea97c405dd3c21549faa45e78 (patch)
tree3a9330f9259ddf98984e63db297583b5ef9dcd7b /apps
parente66c41725f03dae2b295df048312fe6d28729e98 (diff)
Fix typos
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17392)
Diffstat (limited to 'apps')
-rw-r--r--apps/cmp.c2
-rw-r--r--apps/include/http_server.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/cmp.c b/apps/cmp.c
index 2e4867b0db..830e4cb9c8 100644
--- a/apps/cmp.c
+++ b/apps/cmp.c
@@ -1115,7 +1115,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
if (opt_grant_implicitconf)
(void)OSSL_CMP_SRV_CTX_set_grant_implicit_confirm(srv_ctx, 1);
- if (opt_failure != INT_MIN) { /* option has been set explicity */
+ if (opt_failure != INT_MIN) { /* option has been set explicitly */
if (opt_failure < 0 || OSSL_CMP_PKIFAILUREINFO_MAX < opt_failure) {
CMP_err1("-failure out of range, should be >= 0 and <= %d",
OSSL_CMP_PKIFAILUREINFO_MAX);
diff --git a/apps/include/http_server.h b/apps/include/http_server.h
index 3a81cbb140..29a0b3d26f 100644
--- a/apps/include/http_server.h
+++ b/apps/include/http_server.h
@@ -94,7 +94,7 @@ int http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq,
* Send an ASN.1-formatted HTTP response
* cbio: destination BIO (typically as returned by http_server_get_asn1_req())
* note: cbio should not do an encoding that changes the output length
- * keep_alive: grant persistent connnection
+ * keep_alive: grant persistent connection
* content_type: string identifying the type of the response
* it: the response ASN.1 type
* resp: the response to send