summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/CONF_modules_load_file.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/CONF_modules_load_file.3')
-rw-r--r--src/lib/libcrypto/man/CONF_modules_load_file.314
1 files changed, 4 insertions, 10 deletions
diff --git a/src/lib/libcrypto/man/CONF_modules_load_file.3 b/src/lib/libcrypto/man/CONF_modules_load_file.3
index 50fa6a9801..78cfc32f0d 100644
--- a/src/lib/libcrypto/man/CONF_modules_load_file.3
+++ b/src/lib/libcrypto/man/CONF_modules_load_file.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CONF_modules_load_file.3,v 1.15 2025/06/08 22:40:29 schwarze Exp $ 1.\" $OpenBSD: CONF_modules_load_file.3,v 1.16 2025/06/09 12:43:53 schwarze Exp $
2.\" full merge up to: e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: e9b77246 Jan 20 19:58:49 2017 +0100
3.\" selective merge up to: d090fc00 Feb 26 13:11:10 2019 +0800 3.\" selective merge up to: d090fc00 Feb 26 13:11:10 2019 +0800
4.\" 4.\"
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: June 8 2025 $ 69.Dd $Mdocdate: June 9 2025 $
70.Dt CONF_MODULES_LOAD_FILE 3 70.Dt CONF_MODULES_LOAD_FILE 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -223,7 +223,6 @@ Load custom configuration file and section instead of the standard one,
223only print warnings on error, missing configuration file ignored: 223only print warnings on error, missing configuration file ignored:
224.Bd -literal 224.Bd -literal
225OPENSSL_no_config(); 225OPENSSL_no_config();
226OPENSSL_load_builtin_modules();
227if (CONF_modules_load_file("/something/app.cnf", "myapp", 226if (CONF_modules_load_file("/something/app.cnf", "myapp",
228 CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0) { 227 CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0) {
229 fprintf(stderr, "WARNING: error loading configuration file\en"); 228 fprintf(stderr, "WARNING: error loading configuration file\en");
@@ -234,11 +233,7 @@ if (CONF_modules_load_file("/something/app.cnf", "myapp",
234In the previous example, the call to 233In the previous example, the call to
235.Xr OPENSSL_no_config 3 234.Xr OPENSSL_no_config 3
236is required first to suppress automatic loading 235is required first to suppress automatic loading
237of the standard configuration file, and the call to 236of the standard configuration file.
238.Xr OPENSSL_load_builtin_modules 3
239is needed so that the configuration of builtin modules
240is loaded in addition to the configuration of
241.Qq myapp .
242.Pp 237.Pp
243Load and parse configuration file manually, custom error handling: 238Load and parse configuration file manually, custom error handling:
244.Bd -literal 239.Bd -literal
@@ -269,8 +264,7 @@ if (fp == NULL) {
269.Sh SEE ALSO 264.Sh SEE ALSO
270.Xr CONF_modules_free 3 , 265.Xr CONF_modules_free 3 ,
271.Xr ERR 3 , 266.Xr ERR 3 ,
272.Xr OPENSSL_config 3 , 267.Xr OPENSSL_config 3
273.Xr OPENSSL_load_builtin_modules 3
274.Sh HISTORY 268.Sh HISTORY
275.Fn X509_get_default_cert_area 269.Fn X509_get_default_cert_area
276first appeared in SSLeay 0.4.1 and has been available since 270first appeared in SSLeay 0.4.1 and has been available since