aboutsummaryrefslogtreecommitdiff
path: root/doc/man3
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2018-02-01 13:22:48 -0500
committerRich Salz <rsalz@openssl.org>2018-02-01 13:22:48 -0500
commit3c5a61dd0f9d9a9eac098419bcaf47d1c296ca81 (patch)
tree614596820eb1a0405358a338b7e2e7dfff488f7e /doc/man3
parent67c836e860c735cf1b039ef52973237fd26b74d6 (diff)
downloadopenssl-3c5a61dd0f9d9a9eac098419bcaf47d1c296ca81.zip
openssl-3c5a61dd0f9d9a9eac098419bcaf47d1c296ca81.tar.gz
openssl-3c5a61dd0f9d9a9eac098419bcaf47d1c296ca81.tar.bz2
Add OPENSSL_VERSION_AT_LEAST
added macro to create version number use the macro to build OPENSSL_VERSION_AT_LEAST(maj,min,fix) so that customers of libssl (such as ruby-openssl) do not need to be so aware of openssl version numbers. includes updates to ssl(7) and OPENSSL_VERSION_NUMBER(3) man page Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5212)
Diffstat (limited to 'doc/man3')
-rw-r--r--doc/man3/OPENSSL_VERSION_NUMBER.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man3/OPENSSL_VERSION_NUMBER.pod b/doc/man3/OPENSSL_VERSION_NUMBER.pod
index 6eca113..d5842c0 100644
--- a/doc/man3/OPENSSL_VERSION_NUMBER.pod
+++ b/doc/man3/OPENSSL_VERSION_NUMBER.pod
@@ -47,6 +47,11 @@ number was therefore 0x0090581f.
OpenSSL_version_num() returns the version number.
+The macro OPENSSL_VERSION_AT_LEAST(major,minor) can be used at compile
+time test if the current version is at least as new as the version provided.
+The arguments major, minor and fix correspond to the version information
+as given above.
+
OpenSSL_version() returns different strings depending on B<t>:
=over 4