summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-08-31 08:50:42 +0200
committerTomas Mraz <tomas@openssl.org>2022-09-01 15:14:39 +0200
commitfc2be2d07acc0cfe954320c2491b8c5461cbef09 (patch)
treef0b63489efda60afc64798772899527ff9d672de
parentd4ffdc42cb579a1ea6e3c95601c5845866028ebb (diff)
Document the return value of OSSL_LIB_CTX_load_config()
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19101)
-rw-r--r--doc/man3/OSSL_LIB_CTX.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/man3/OSSL_LIB_CTX.pod b/doc/man3/OSSL_LIB_CTX.pod
index 98a3896fe4..cf8bd8b067 100644
--- a/doc/man3/OSSL_LIB_CTX.pod
+++ b/doc/man3/OSSL_LIB_CTX.pod
@@ -83,7 +83,7 @@ B<OSSL_provider_init> function returns then the new provider is available in the
application's library context and will be similarly mirrored in the child
library context.
-OSSL_LIB_CTX_load_config() loads a configuration file using the given C<ctx>.
+OSSL_LIB_CTX_load_config() loads a configuration file using the given I<ctx>.
This can be used to associate a library context with providers that are loaded
from a configuration.
@@ -118,6 +118,8 @@ on error.
OSSL_LIB_CTX_free() doesn't return any value.
+OSSL_LIB_CTX_load_config() returns 1 on success, 0 on error.
+
=head1 HISTORY
All of the functions described on this page were added in OpenSSL 3.0.