From 9f7b1b24e2a94efbe2cdf61ed614780f72d67899 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Sun, 20 Feb 2000 21:00:22 +0000 Subject: [PATCH] Document OPENSSL_VERSION_NUMBER --- doc/crypto/OPENSSL_VERSION_NUMBER.pod | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/crypto/OPENSSL_VERSION_NUMBER.pod diff --git a/doc/crypto/OPENSSL_VERSION_NUMBER.pod b/doc/crypto/OPENSSL_VERSION_NUMBER.pod new file mode 100644 index 0000000000..c8d9e86830 --- /dev/null +++ b/doc/crypto/OPENSSL_VERSION_NUMBER.pod @@ -0,0 +1,46 @@ +=pod + +=head1 NAME + +OPENSSL_VERSION_NUMBER, SSLeay - Get OpenSSL version number + +=head1 SYNOPSIS + + #include + #define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL + + #include + long SSLeay(void); + +=head1 DESCRIPTION + +OPENSSL_VERSION_NUMBER is a numeric release version identifier: + + MMNNFFRBB major minor fix final beta/patch + +for example + + 0x000904100 == 0.9.4 release + 0x000905000 == 0.9.5 dev + +Versions prior to 0.9.3 have identifiers E 0x0930. +For backward compatibility, SSLEAY_VERSION_NUMBER is also defined. + +SSLeay() returns this number. The return value can be compared to the +macro to make sure that the correct version of the library has been +loaded, especially when using DLLs on Windows systems. + +=head1 RETURN VALUE + +The version number. + +=head1 SEE ALSO + +L + +=head1 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. + +=cut -- 2.34.1