diff options
Diffstat (limited to 'src/lib/libcrypto/man/OPENSSL_init_crypto.3')
-rw-r--r-- | src/lib/libcrypto/man/OPENSSL_init_crypto.3 | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/OPENSSL_init_crypto.3 b/src/lib/libcrypto/man/OPENSSL_init_crypto.3 index 27c60561fe..525d748cea 100644 --- a/src/lib/libcrypto/man/OPENSSL_init_crypto.3 +++ b/src/lib/libcrypto/man/OPENSSL_init_crypto.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: OPENSSL_init_crypto.3,v 1.1 2018/03/17 18:52:42 schwarze Exp $ | 1 | .\" $OpenBSD: OPENSSL_init_crypto.3,v 1.2 2018/03/21 22:08:04 schwarze Exp $ |
2 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> | 2 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> |
3 | .\" | 3 | .\" |
4 | .\" Permission to use, copy, modify, and distribute this software for any | 4 | .\" Permission to use, copy, modify, and distribute this software for any |
@@ -13,7 +13,7 @@ | |||
13 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 13 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
14 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | .\" | 15 | .\" |
16 | .Dd $Mdocdate: March 17 2018 $ | 16 | .Dd $Mdocdate: March 21 2018 $ |
17 | .Dt OPENSSL_INIT_CRYPTO 3 | 17 | .Dt OPENSSL_INIT_CRYPTO 3 |
18 | .Os | 18 | .Os |
19 | .Sh NAME | 19 | .Sh NAME |
@@ -31,14 +31,21 @@ If | |||
31 | .Fn OPENSSL_init_crypto | 31 | .Fn OPENSSL_init_crypto |
32 | is called before any other crypto or ssl functions, the crypto | 32 | is called before any other crypto or ssl functions, the crypto |
33 | library is initialised by allocating various internal resources. | 33 | library is initialised by allocating various internal resources. |
34 | Unless the | 34 | .Pp |
35 | .Dv OPENSSL_INIT_NO_LOAD_CONFIG | 35 | The following |
36 | bit is set in the | ||
37 | .Fa options | 36 | .Fa options |
38 | argument, the default | 37 | are supported: |
39 | .Xr openssl.cnf 5 | 38 | .Bl -tag -width Ds |
40 | configuration file is also loaded as documented in | 39 | .It Dv OPENSSL_INIT_LOAD_CONFIG |
40 | At the end of the initialization, call | ||
41 | .Xr OPENSSL_config 3 | ||
42 | with a | ||
43 | .Dv NULL | ||
44 | argument, loading the default configuration file. | ||
45 | .It Dv OPENSSL_INIT_NO_LOAD_CONFIG | ||
46 | Ignore any later calls to | ||
41 | .Xr OPENSSL_config 3 . | 47 | .Xr OPENSSL_config 3 . |
48 | .El | ||
42 | .Pp | 49 | .Pp |
43 | The other | 50 | The other |
44 | .Fa options | 51 | .Fa options |
@@ -61,7 +68,9 @@ the first one have any effect. | |||
61 | is intended to return 1 on success or 0 on error. | 68 | is intended to return 1 on success or 0 on error. |
62 | .Sh SEE ALSO | 69 | .Sh SEE ALSO |
63 | .Xr CONF_modules_load_file 3 , | 70 | .Xr CONF_modules_load_file 3 , |
71 | .Xr OPENSSL_config 3 , | ||
64 | .Xr OPENSSL_init_ssl 3 , | 72 | .Xr OPENSSL_init_ssl 3 , |
73 | .Xr OPENSSL_load_builtin_modules 3 , | ||
65 | .Xr openssl.cnf 5 | 74 | .Xr openssl.cnf 5 |
66 | .Sh HISTORY | 75 | .Sh HISTORY |
67 | .Fn OPENSSL_init_crypto | 76 | .Fn OPENSSL_init_crypto |