Add OPENSSL_VERSION_AT_LEAST
[openssl.git] / doc / man7 / ssl.pod
index 724fc78b178d7b5344a4c5adca347c5c15ddcb6b..066b32508f01b897776bb98abf3e01fc7e36f3c4 100644 (file)
@@ -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.
 
 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.
 =item B<ssl2.h>
 
 Unused. Present for backwards compatibility only.