Commit 2a479a86 authored by Richard Levitte's avatar Richard Levitte
Browse files

Docs for OpenSSL_init_crypto: there is no way to specify another file



The documentation erroneously stated that one can change the default
configuration file name.

Fixes #5939

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5941)

(cherry picked from commit 0320e8e2)
parent e7bc92bc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -190,10 +190,10 @@ resources should be freed at an earlier time, or under the circumstances
described in the NOTES section below.

The B<OPENSSL_INIT_LOAD_CONFIG> flag will load a default configuration
file.  To specify a different file, an B<OPENSSL_INIT_SETTINGS> must
be created and used. The routines
OPENSSL_init_new() and OPENSSL_INIT_set_config_appname() can be used to
allocate the object and set the application name, and then the
file. For optional configuration file settings, an B<OPENSSL_INIT_SETTINGS>
must be created and used.
The routines OPENSSL_init_new() and OPENSSL_INIT_set_config_appname() can
be used to allocate the object and set the application name, and then the
object can be released with OPENSSL_INIT_free() when done.

=head1 NOTES