diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/CONF_modules_load_file.3 | 48 |
1 files changed, 41 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/CONF_modules_load_file.3 b/src/lib/libcrypto/man/CONF_modules_load_file.3 index 972752f7a3..bd419ef3e3 100644 --- a/src/lib/libcrypto/man/CONF_modules_load_file.3 +++ b/src/lib/libcrypto/man/CONF_modules_load_file.3 | |||
| @@ -1,7 +1,25 @@ | |||
| 1 | .\" $OpenBSD: CONF_modules_load_file.3,v 1.9 2019/06/14 13:41:31 schwarze Exp $ | 1 | .\" $OpenBSD: CONF_modules_load_file.3,v 1.10 2021/08/03 18:49:30 schwarze Exp $ |
| 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +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 | .\" | 4 | .\" |
| 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 5 | .\" This file is a derived work. |
| 6 | .\" The changes are covered by the following Copyright and license: | ||
| 7 | .\" | ||
| 8 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | ||
| 9 | .\" | ||
| 10 | .\" Permission to use, copy, modify, and distribute this software for any | ||
| 11 | .\" purpose with or without fee is hereby granted, provided that the above | ||
| 12 | .\" copyright notice and this permission notice appear in all copies. | ||
| 13 | .\" | ||
| 14 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 15 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 16 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 17 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 18 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 19 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 20 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 21 | .\" | ||
| 22 | .\" The original file was written by Dr. Stephen Henson <steve@openssl.org>. | ||
| 5 | .\" Copyright (c) 2000, 2015 The OpenSSL Project. All rights reserved. | 23 | .\" Copyright (c) 2000, 2015 The OpenSSL Project. All rights reserved. |
| 6 | .\" | 24 | .\" |
| 7 | .\" Redistribution and use in source and binary forms, with or without | 25 | .\" Redistribution and use in source and binary forms, with or without |
| @@ -48,12 +66,13 @@ | |||
| 48 | .\" 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 |
| 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 50 | .\" | 68 | .\" |
| 51 | .Dd $Mdocdate: June 14 2019 $ | 69 | .Dd $Mdocdate: August 3 2021 $ |
| 52 | .Dt CONF_MODULES_LOAD_FILE 3 | 70 | .Dt CONF_MODULES_LOAD_FILE 3 |
| 53 | .Os | 71 | .Os |
| 54 | .Sh NAME | 72 | .Sh NAME |
| 55 | .Nm CONF_modules_load_file , | 73 | .Nm CONF_modules_load_file , |
| 56 | .Nm CONF_modules_load | 74 | .Nm CONF_modules_load , |
| 75 | .Nm X509_get_default_cert_area | ||
| 57 | .Nd OpenSSL configuration functions | 76 | .Nd OpenSSL configuration functions |
| 58 | .Sh SYNOPSIS | 77 | .Sh SYNOPSIS |
| 59 | .In openssl/conf.h | 78 | .In openssl/conf.h |
| @@ -69,6 +88,9 @@ | |||
| 69 | .Fa "const char *appname" | 88 | .Fa "const char *appname" |
| 70 | .Fa "unsigned long flags" | 89 | .Fa "unsigned long flags" |
| 71 | .Fc | 90 | .Fc |
| 91 | .In openssl/x509.h | ||
| 92 | .Ft const char * | ||
| 93 | .Fn X509_get_default_cert_area void | ||
| 72 | .Sh DESCRIPTION | 94 | .Sh DESCRIPTION |
| 73 | The function | 95 | The function |
| 74 | .Fn CONF_modules_load_file | 96 | .Fn CONF_modules_load_file |
| @@ -156,12 +178,20 @@ Applications can use the | |||
| 156 | function if they wish to load a configuration file themselves and | 178 | function if they wish to load a configuration file themselves and |
| 157 | have finer control over how errors are treated. | 179 | have finer control over how errors are treated. |
| 158 | .Sh RETURN VALUES | 180 | .Sh RETURN VALUES |
| 159 | These functions return 1 for success and zero or a negative value for | 181 | .Fn CONF_modules_load_file |
| 160 | failure. | 182 | and |
| 183 | .Fn CONF_modules_load | ||
| 184 | return 1 for success and zero or a negative value for failure. | ||
| 161 | If module errors are not ignored, the return code will reflect the return | 185 | If module errors are not ignored, the return code will reflect the return |
| 162 | value of the failing module (this will always be zero or negative). | 186 | value of the failing module (this will always be zero or negative). |
| 187 | .Pp | ||
| 188 | .Fn X509_get_default_cert_area | ||
| 189 | returns a pointer to the constant string | ||
| 190 | .Qq "/etc/ssl" . | ||
| 163 | .Sh FILES | 191 | .Sh FILES |
| 164 | .Bl -tag -width /etc/ssl/openssl.cnf -compact | 192 | .Bl -tag -width /etc/ssl/openssl.cnf -compact |
| 193 | .It Pa /etc/ssl | ||
| 194 | standard configuration directory | ||
| 165 | .It Pa /etc/ssl/openssl.cnf | 195 | .It Pa /etc/ssl/openssl.cnf |
| 166 | standard configuration file | 196 | standard configuration file |
| 167 | .El | 197 | .El |
| @@ -244,6 +274,10 @@ if (fp == NULL) { | |||
| 244 | .Xr OPENSSL_config 3 , | 274 | .Xr OPENSSL_config 3 , |
| 245 | .Xr OPENSSL_load_builtin_modules 3 | 275 | .Xr OPENSSL_load_builtin_modules 3 |
| 246 | .Sh HISTORY | 276 | .Sh HISTORY |
| 277 | .Fn X509_get_default_cert_area | ||
| 278 | first appeared in SSLeay 0.4.1 and has been available since | ||
| 279 | .Ox 2.4 . | ||
| 280 | .Pp | ||
| 247 | .Fn CONF_modules_load_file | 281 | .Fn CONF_modules_load_file |
| 248 | and | 282 | and |
| 249 | .Fn CONF_modules_load | 283 | .Fn CONF_modules_load |
