X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2FOPENSSL_config.pod;h=e7bba2aacae066c760d667592f049cd6f6bf66cd;hb=ba544377fb48336b4e29fd494a7faf7c0ba6b1dc;hp=18da16f3c36be657b39efb79996d0f41270ab2e6;hpb=5a8922aed50153592f8976b4c8a57c61f28363f0;p=oweals%2Fopenssl.git diff --git a/doc/crypto/OPENSSL_config.pod b/doc/crypto/OPENSSL_config.pod index 18da16f3c3..e7bba2aaca 100644 --- a/doc/crypto/OPENSSL_config.pod +++ b/doc/crypto/OPENSSL_config.pod @@ -2,7 +2,7 @@ =head1 NAME -OPENSSL_config, OPENSSL_no_config - minimal OpenSSL configuration +OPENSSL_config, OPENSSL_no_config - simple OpenSSL configuration functions =head1 SYNOPSIS @@ -32,9 +32,10 @@ and some new functionality can be supported automatically. It is also possible to automatically call OPENSSL_config() when an application calls OPENSSL_add_all_algorithms() by compiling an application with the -preprocessor symbol B #define'd. +preprocessor symbol B #define'd. In this way configuration +can be added without source changes. -The environment variable B can be set to specify the location +The environment variable B can be set to specify the location of the configuration file. Currently ASN1 OBJECTs and ENGINE configuration can be performed future @@ -51,6 +52,9 @@ application calls OPENSSL_config() it doesn't need to know or care about ENGINE control operations because they can be performed by editing a configuration file. +Applications should free up configuration at application closedown by calling +CONF_modules_free(). + =head1 RESTRICTIONS The OPENSSL_config() function is designed to be a very simple "call it and @@ -59,7 +63,7 @@ all errors silently and it can only load from the standard configuration file location for example. It is however B better than nothing. Applications which need finer -control over the configuration functionality should use the configuration +control over their configuration functionality should use the configuration functions such as CONF_load_modules() directly. =head1 RETURN VALUES @@ -68,7 +72,8 @@ Neither OPENSSL_config() nor OPENSSL_no_config() return a value. =head1 SEE ALSO -L +L, L, +L =head1 HISTORY