summaryrefslogtreecommitdiffstats
path: root/doc/man7
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/man7
parent67c836e860c735cf1b039ef52973237fd26b74d6 (diff)
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/man7')
-rw-r--r--doc/man7/ssl.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/man7/ssl.pod b/doc/man7/ssl.pod
index 724fc78b17..066b32508f 100644
--- a/doc/man7/ssl.pod
+++ b/doc/man7/ssl.pod
@@ -89,6 +89,12 @@ includes both more private SSL headers and headers from the B<crypto> library.
Whenever you need hard-core details on the internals of the SSL API, look
inside this header file.
+OPENSSL_VERSION_AT_LEAST(major,minor) can be
+used in C<#if> statements in order to determine which version of the library is
+being used. This can be used to either enable optional features at compile
+time, or work around issues with a previous version.
+See L<OPENSSL_VERSION_NUMBER(3)>.
+
=item B<ssl2.h>
Unused. Present for backwards compatibility only.