summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/OPENSSL_config.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/OPENSSL_config.3')
-rw-r--r--src/lib/libcrypto/man/OPENSSL_config.325
1 files changed, 15 insertions, 10 deletions
diff --git a/src/lib/libcrypto/man/OPENSSL_config.3 b/src/lib/libcrypto/man/OPENSSL_config.3
index e74f697dc4..2960e2389a 100644
--- a/src/lib/libcrypto/man/OPENSSL_config.3
+++ b/src/lib/libcrypto/man/OPENSSL_config.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OPENSSL_config.3,v 1.14 2019/06/10 09:49:48 schwarze Exp $ 1.\" $OpenBSD: OPENSSL_config.3,v 1.15 2019/06/14 13:41:31 schwarze Exp $
2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: June 10 2019 $ 68.Dd $Mdocdate: June 14 2019 $
69.Dt OPENSSL_CONFIG 3 69.Dt OPENSSL_CONFIG 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -82,12 +82,7 @@
82.Fn OPENSSL_no_config void 82.Fn OPENSSL_no_config void
83.Sh DESCRIPTION 83.Sh DESCRIPTION
84.Fn OPENSSL_config 84.Fn OPENSSL_config
85initializes the crypto library with 85initializes the crypto library and calls
86.Xr OPENSSL_init_crypto 3
87and then calls
88.Xr OPENSSL_load_builtin_modules 3 ,
89.Xr ENGINE_load_builtin_engines 3 ,
90and
91.Xr CONF_modules_load_file 3 86.Xr CONF_modules_load_file 3
92with the standard configuration file and the given 87with the standard configuration file and the given
93.Fa appname . 88.Fa appname .
@@ -104,7 +99,7 @@ Further calls to
104have no effect. 99have no effect.
105.Pp 100.Pp
106.Fn OPENSSL_no_config 101.Fn OPENSSL_no_config
107suppresses the loading of any configuration file, so that any 102suppresses the loading of the standard configuration file, so that any
108future calls to 103future calls to
109.Fn OPENSSL_config 104.Fn OPENSSL_config
110or to 105or to
@@ -116,6 +111,17 @@ Calling these functions is optional.
116All required initialization of the crypto libraries happens 111All required initialization of the crypto libraries happens
117automatically when needed. 112automatically when needed.
118.Pp 113.Pp
114To use a non-standard configuration file, refer to
115.Xr CONF_modules_load_file 3 .
116.Pp
117Internally,
118.Fn OPENSSL_config
119calls
120.Xr OPENSSL_init_crypto 3 ,
121.Xr OPENSSL_load_builtin_modules 3 ,
122and
123.Xr ENGINE_load_builtin_engines 3 .
124.Pp
119If an application is compiled with the preprocessor symbol 125If an application is compiled with the preprocessor symbol
120.Dv OPENSSL_LOAD_CONF 126.Dv OPENSSL_LOAD_CONF
121#define'd, 127#define'd,
@@ -135,7 +141,6 @@ standard configuration file
135.Xr CONF_modules_free 3 , 141.Xr CONF_modules_free 3 ,
136.Xr CONF_modules_load_file 3 , 142.Xr CONF_modules_load_file 3 ,
137.Xr crypto 3 , 143.Xr crypto 3 ,
138.Xr OPENSSL_init_crypto 3 ,
139.Xr OPENSSL_load_builtin_modules 3 , 144.Xr OPENSSL_load_builtin_modules 3 ,
140.Xr OPENSSL_VERSION_NUMBER 3 , 145.Xr OPENSSL_VERSION_NUMBER 3 ,
141.Xr openssl.cnf 5 , 146.Xr openssl.cnf 5 ,