SSLeay_version - retrieve version/build information about OpenSSL library
#include <openssl/crypto.h>
const char *SSLeay_version(int type);
SSLeay_version()
returns a pointer to a constant string describing the
version of the OpenSSL library or giving information about the library
build.
The following type values are supported:
The version of the OpenSSL library including the release date.
The compiler flags set for the compilation process in the form ``compiler: ...'' if available or ``compiler: information not available'' otherwise.
The date of the build process in the form ``built on: ...'' if available or ``built on: date not available'' otherwise.
The ``Configure'' target of the library build in the form ``platform: ...'' if available or ``platform: information not available'' otherwise.
The ``OPENSSLDIR'' setting of the library build in the form ``OPENSSLDIR: ''...``'' if available or ``OPENSSLDIR: N/A'' otherwise.
The following return values can occur:
An invalid value for type was given.
Textual description.
SSLEAY_DIR was added in OpenSSL 0.9.7.