Commit 0320e8e2 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)
parent b4c1950d
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -197,10 +197,10 @@ resources should be freed at an earlier time, or under the circumstances
described in the NOTES section below.
described in the NOTES section below.


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


=head1 NOTES
=head1 NOTES