5 SSLeay_version - retrieve version/build information about OpenSSL library
9 #include <openssl/crypto.h>
11 const char *SSLeay_version(int type);
15 SSLeay_version() returns a pointer to a constant string describing the
16 version of the OpenSSL library or giving information about the library
19 The following B<type> values are supported:
25 The version of the OpenSSL library including the release date.
29 The compiler flags set for the compilation process in the form
30 "compiler: ..." if available or "compiler: information not available"
35 The date of the build process in the form "built on: ..." if available
36 or "built on: date not available" otherwise.
40 The "Configure" target of the library build in the form "platform: ..."
41 if available or "platform: information not available" otherwise.
45 The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: "...""
46 if available or "OPENSSLDIR: N/A" otherwise.
52 The following return values can occur:
58 An invalid value for B<type> was given.
60 =item Pointer to constant string
68 L<crypto(3)|crypto(3)>
72 B<SSLEAY_DIR> was added in OpenSSL 0.9.7.