OPENSSL_VERSION_NUMBER(3) | LibreSSL | OPENSSL_VERSION_NUMBER(3) |
NAME
OPENSSL_VERSION_NUMBER, SSLeay, SSLeay_version - get OpenSSL version numberSYNOPSIS
#include <openssl/opensslv.h>
#define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL
#include <openssl/crypto.h>
long SSLeay(void);
const char *SSLeay_version(int t);
DESCRIPTION
OPENSSL_VERSION_NUMBER is a numeric release version identifier:MMNNFFPPS: major minor fix patch status
0x000906000 == 0.9.6 dev
0x000906023 == 0.9.6b beta 3
0x00090605f == 0.9.6e release
MMNNFFRBB major minor fix final beta/patch
0x000904100 == 0.9.4 release
0x000905000 == 0.9.5 dev
- SSLEAY_VERSION
- The text variant of the version number and the release date. For example, "OpenSSL 0.9.5a 1 Apr 2000".
- SSLEAY_CFLAGS
- The compiler flags set for the compilation process in the form "compiler: ..." if available or "compiler: information not available" otherwise.
- SSLEAY_BUILT_ON
- The date of the build process in the form "built on: ..." if available or "built on: date not available" otherwise.
- SSLEAY_PLATFORM
- The "Configure" target of the library build in the form "platform: ..." if available or "platform: information not available" otherwise.
- SSLEAY_DIR
- The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: "..."" if available or "OPENSSLDIR: N/A" otherwise.
RETURN VALUE
The version number.SEE ALSO
crypto(3)HISTORY
SSLeay() and SSLEAY_VERSION_NUMBER are available in all versions of SSLeay and OpenSSL. OPENSSL_VERSION_NUMBER is available in all versions of OpenSSL. SSLEAY_DIR was added in OpenSSL 0.9.7.2015-10-26 | LibreSSL |