From: Tomas Mraz Date: Wed, 31 Aug 2022 06:50:42 +0000 (+0200) Subject: Document the return value of OSSL_LIB_CTX_load_config() X-Git-Tag: openssl-3.2.0-alpha1~2144 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc2be2d07acc0cfe954320c2491b8c5461cbef09;p=thirdparty%2Fopenssl.git Document the return value of OSSL_LIB_CTX_load_config() Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/19101) --- diff --git a/doc/man3/OSSL_LIB_CTX.pod b/doc/man3/OSSL_LIB_CTX.pod index 98a3896fe40..cf8bd8b067f 100644 --- a/doc/man3/OSSL_LIB_CTX.pod +++ b/doc/man3/OSSL_LIB_CTX.pod @@ -83,7 +83,7 @@ B 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. +OSSL_LIB_CTX_load_config() loads a configuration file using the given I. 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.