diff options
Diffstat (limited to 'doc/man3/OpenSSL_version.pod')
-rw-r--r-- | doc/man3/OpenSSL_version.pod | 47 |
1 files changed, 45 insertions, 2 deletions
diff --git a/doc/man3/OpenSSL_version.pod b/doc/man3/OpenSSL_version.pod index 679273e6f1..c1ced6434d 100644 --- a/doc/man3/OpenSSL_version.pod +++ b/doc/man3/OpenSSL_version.pod @@ -8,8 +8,8 @@ OPENSSL_VERSION_PRE_RELEASE_STR, OPENSSL_VERSION_BUILD_METADATA_STR, OPENSSL_VERSION_TEXT, OPENSSL_version_major, OPENSSL_version_minor, OPENSSL_version_patch, OPENSSL_version_pre_release, OPENSSL_version_build_metadata, OpenSSL_version, -OPENSSL_VERSION_NUMBER, OpenSSL_version_num -- get OpenSSL version number +OPENSSL_VERSION_NUMBER, OpenSSL_version_num, OPENSSL_info +- get OpenSSL version number and other information =head1 SYNOPSIS @@ -37,6 +37,8 @@ OPENSSL_VERSION_NUMBER, OpenSSL_version_num const char *OpenSSL_version(int t); + const char *OPENSSL_info(int t); + Deprecated: /* from openssl/opensslv.h */ @@ -127,6 +129,47 @@ if available or "ENGINESDIR: N/A" otherwise. For an unknown B<t>, the text "not available" is returned. +OPENSSL_info() also returns different strings depending on B<t>: + +=over 4 + +=item OPENSSL_INFO_CONFIG_DIR + +The configured C<OPENSSLDIR>, which is the default location for +OpenSSL configuration files. + +=item OPENSSL_INFO_ENGINES_DIR + +The configured C<ENGINESDIR>, which is the default location for +OpenSSL engines. + +=item OPENSSL_INFO_MODULES_DIR + +The configured C<MODULESDIR>, which is the default location for +dynamically loadable OpenSSL modules other than engines. + +=item OPENSSL_INFO_DSO_EXTENSION + +The configured dynamically loadable module extension. + +=item OPENSSL_INFO_DIR_FILENAME_SEPARATOR + +The separator between a directory specification and a file name. +Note that on some operating systems, this is not the same as the +separator between directory elements. + +=item OPENSSL_INFO_LIST_SEPARATOR + +The OpenSSL list separator. +This is typically used in strings that are lists of items, such as the +value of the environment variable C<$PATH> on Unix (where the +separator is ":") or C<%PATH%> on Windows (where the separator is +";"). + +=back + +For an unknown B<t>, NULL is returned. + =head1 BACKWARD COMPATIBILITY For compatibility, some older macros and functions are retained or |