5 OPENSSL_VERSION_NUMBER, SSLeay - Get OpenSSL version number
9 #include <openssl/opensslv.h>
10 #define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL
12 #include <openssl/crypto.h>
17 OPENSSL_VERSION_NUMBER is a numeric release version identifier:
19 MMNNFFRBB major minor fix final beta/patch
23 0x000904100 == 0.9.4 release
24 0x000905000 == 0.9.5 dev
26 Versions prior to 0.9.3 have identifiers E<lt> 0x0930.
27 For backward compatibility, SSLEAY_VERSION_NUMBER is also defined.
29 SSLeay() returns this number. The return value can be compared to the
30 macro to make sure that the correct version of the library has been
31 loaded, especially when using DLLs on Windows systems.
39 L<crypto(3)|crypto(3)>
43 SSLeay() and SSLEAY_VERSION_NUMBER are available in all versions of SSLeay and OpenSSL.
44 OPENSSL_VERSION_NUMBER is available in all versions of OpenSSL.