DOC: configuration: add missing openssl_version predicates

Add missing openssl_version_atleast() and  openssl_version_before()
predicates.

The predicates exist since 3aeb3f9347 ("MINOR: cfgcond: implements
openssl_version_atleast and openssl_version_before").

Must be backported in every stable versions.
This commit is contained in:
William Lallemand 2025-11-14 10:43:09 +01:00
parent 9ad018a3dd
commit 35d21a8bc0

View File

@ -1185,6 +1185,21 @@ The list of currently supported predicates is the following:
in the features list reported by "haproxy -vv"
(which means a <name> appears after a '+')
- openssl_version_atleast(<ver>) : returns true if the current openssl
version is at least as recent as <ver> otherwise
false.
Libraries like LibreSSL, AWS-LC and WolfSSL also
provide a pseudo OpenSSL version.
Example:
ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)
- openssl_version_before(<ver>) : returns true if the current openssl
version is strictly older than <ver> otherwise
false.
Libraries like LibreSSL, AWS-LC and WolfSSL also
provide a pseudo OpenSSL version.
Example: openssl_version_before(3.5.0)
- ssllib_name_startswith(<name>) : return true if the SSL library name
HAProxy was linked with, starts with <name>.
Example: ssllib_name_startswith(wolfSSL)