aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-22 14:45:00 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:50:03 +0000
commit39b9345234aacfcf5dbdf4ec5afc14bf0c6d9d2e (patch)
tree07c3b3e90486c0f89447e35128932de8371981d9 /include
parent613917ea0c5074700990851cb98b07f38c5b82b7 (diff)
downloadopenssl-39b9345234aacfcf5dbdf4ec5afc14bf0c6d9d2e.tar.gz
JSON_ENC: Minor tweaks
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 'include')
-rw-r--r--include/internal/json_enc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/internal/json_enc.h b/include/internal/json_enc.h
index 9c13d0622d..96ea920641 100644
--- a/include/internal/json_enc.h
+++ b/include/internal/json_enc.h
@@ -117,12 +117,12 @@ int ossl_json_flush(OSSL_JSON_ENC *json);
int ossl_json_flush_cleanup(OSSL_JSON_ENC *json);
/*
- * ossl_json_set_sink
- * ------------------
+ * ossl_json_set0_sink
+ * -------------------
*
* Changes the sink used by the JSON encoder.
*/
-int ossl_json_set_sink(OSSL_JSON_ENC *json, BIO *bio);
+int ossl_json_set0_sink(OSSL_JSON_ENC *json, BIO *bio);
/*
* ossl_json_in_error