Document the return value of OSSL_LIB_CTX_load_config()
authorTomas Mraz <tomas@openssl.org>
Wed, 31 Aug 2022 06:50:42 +0000 (08:50 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 1 Sep 2022 13:15:44 +0000 (15:15 +0200)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19101)

(cherry picked from commit fc2be2d07acc0cfe954320c2491b8c5461cbef09)

doc/man3/OSSL_LIB_CTX.pod

index 98a3896fe40b4fc3a38a9781e4f82dce32dbcd54..cf8bd8b067f1f4518a4aa65ecf95499d0e663de5 100644 (file)
@@ -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.