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.
47 The following return values can occur:
53 An invalid value for B<type> was given.
55 =item Pointer to constant string
63 L<crypto(3)|crypto(3)>