diff options
Diffstat (limited to 'src/lib/libcrypto/man/CONF_modules_load_file.3')
-rw-r--r-- | src/lib/libcrypto/man/CONF_modules_load_file.3 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/CONF_modules_load_file.3 b/src/lib/libcrypto/man/CONF_modules_load_file.3 index 0e594a1544..620787b4f1 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.4 2016/11/20 19:47:59 schwarze Exp $ | 1 | .\" $OpenBSD: CONF_modules_load_file.3,v 1.5 2016/12/11 18:06:09 schwarze Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: November 20 2016 $ | 51 | .Dd $Mdocdate: December 11 2016 $ |
52 | .Dt CONF_MODULES_LOAD_FILE 3 | 52 | .Dt CONF_MODULES_LOAD_FILE 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -72,15 +72,19 @@ | |||
72 | .Sh DESCRIPTION | 72 | .Sh DESCRIPTION |
73 | The function | 73 | The function |
74 | .Fn CONF_modules_load_file | 74 | .Fn CONF_modules_load_file |
75 | configures OpenSSL using file | 75 | configures OpenSSL using the file |
76 | .Fa filename | 76 | .Fa filename |
77 | and application name | 77 | in |
78 | .Xr openssl.cnf 5 | ||
79 | format and the application name | ||
78 | .Fa appname . | 80 | .Fa appname . |
79 | If | 81 | If |
80 | .Fa filename | 82 | .Fa filename |
81 | is | 83 | is |
82 | .Dv NULL , | 84 | .Dv NULL , |
83 | the standard OpenSSL configuration file is used. | 85 | the standard OpenSSL configuration file |
86 | .Pa /etc/ssl/openssl.cnf | ||
87 | is used. | ||
84 | If | 88 | If |
85 | .Fa appname | 89 | .Fa appname |
86 | is | 90 | is |
@@ -149,6 +153,11 @@ These functions return 1 for success and zero or a negative value for | |||
149 | failure. | 153 | failure. |
150 | If module errors are not ignored, the return code will reflect the return | 154 | If module errors are not ignored, the return code will reflect the return |
151 | value of the failing module (this will always be zero or negative). | 155 | value of the failing module (this will always be zero or negative). |
156 | .Sh FILES | ||
157 | .Bl -tag -width /etc/ssl/openssl.cnf -compact | ||
158 | .It Pa /etc/ssl/openssl.cnf | ||
159 | standard configuration file | ||
160 | .El | ||
152 | .Sh EXAMPLES | 161 | .Sh EXAMPLES |
153 | Load a configuration file and print out any errors and exit (missing | 162 | Load a configuration file and print out any errors and exit (missing |
154 | file considered fatal): | 163 | file considered fatal): |