commit | 6445d988ec8def9d0f80de0eda9c5763d39facc1 | [log] [tgz] |
---|---|---|
author | Rosen Penev <rosenp@gmail.com> | Thu Dec 19 12:54:13 2019 -0800 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 20 16:05:14 2019 +0100 |
tree | 08ea349550d9847dbb5178183009cecf176fb9c7 | |
parent | a29cddef90e775ad8cf7695251b8e14d90ae6a16 [diff] |
BUG/MINOR: ssl: openssl-compat: Fix getm_ defines LIBRESSL_VERSION_NUMBER evaluates to 0 under OpenSSL, making the condition always true. Check for the define before checking it. Signed-off-by: Rosen Penev <rosenp@gmail.com> [wt: to be backported as far as 1.9] (cherry picked from commit b3814c2ca8a8c28a890f8f50e0a35d5247222a12) Signed-off-by: Willy Tarreau <w@1wt.eu> (cherry picked from commit d0f06ab5f1f99049e17445f265d2613c01129599) Signed-off-by: Willy Tarreau <w@1wt.eu>