summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-23 16:24:59 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:50:29 +0000
commitae300c0d5e8f39329a44236c6e6bf364f42cd771 (patch)
tree6e1a8add8a3c0a18ba80616a42076a9acb38af99 /ssl
parenta70665852c72a1b6c3f5960ce48f51b83755276d (diff)
Minor updates
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/json_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/json_enc.c b/ssl/quic/json_enc.c
index e5cf50066f..06da2adf88 100644
--- a/ssl/quic/json_enc.c
+++ b/ssl/quic/json_enc.c
@@ -451,7 +451,7 @@ void ossl_json_object_begin(OSSL_JSON_ENC *json)
json->state = STATE_PRE_KEY;
}
-/* End a JSON obejct. Must be matched with a call to ossl_json_object_begin(). */
+/* End a JSON object. Must be matched with a call to ossl_json_object_begin(). */
void ossl_json_object_end(OSSL_JSON_ENC *json)
{
composite_end(json, 0, '}');
@@ -464,7 +464,7 @@ void ossl_json_array_begin(OSSL_JSON_ENC *json)
json->state = STATE_PRE_ITEM;
}
-/* End a JSON array. Must be matched with a call to ossl_json_array_end(). */
+/* End a JSON array. Must be matched with a call to ossl_json_array_begin(). */
void ossl_json_array_end(OSSL_JSON_ENC *json)
{
composite_end(json, 1, ']');