Codebase list openssl / 908f7a1
Document OPENSSL_VERSION_TEXT macro This commit documents the OPENSSL_VERSION_TEXT which is currently missing in the man page. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7301) (cherry picked from commit 7c69495712e3dc9aa8db38271f0c3faeb2037165) Daniel Bevenius authored 5 years ago Richard Levitte committed 5 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11
22 =head1 NAME
33
4 OPENSSL_VERSION_NUMBER, OpenSSL_version,
4 OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT, OpenSSL_version,
55 OpenSSL_version_num - get OpenSSL version number
66
77 =head1 SYNOPSIS
88
99 #include <openssl/opensslv.h>
1010 #define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL
11 #define OPENSSL_VERSION_TEXT "OpenSSL x.y.z xx XXX xxxx"
1112
1213 #include <openssl/crypto.h>
1314
4344 Version 0.9.5a had an interim interpretation that is like the current one,
4445 except the patch level got the highest bit set, to keep continuity. The
4546 number was therefore 0x0090581f.
47
48 OPENSSL_VERSION_TEXT is the text variant of the version number and the
49 release date. For example,
50 "OpenSSL 1.0.1a 15 Oct 2015".
4651
4752 OpenSSL_version_num() returns the version number.
4853