commit | b01179aa92f1b5d1b82b0d42cfbedd60b27e99d3 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Mon Oct 11 15:34:12 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Oct 13 11:28:08 2021 +0200 |
tree | 78afbcc31816140b9139c46ee8c0d8ffd0d22860 | |
parent | 1ac65f866813716d0f4c8f803359af842835c0d2 [diff] |
MINOR: ssl: Add ssllib_name_startswith precondition This new ssllib_name_startswith precondition check can be used to distinguish application linked with OpenSSL from the ones linked with other SSL libraries (LibreSSL or BoringSSL namely). This check takes a string as input and returns 1 when the SSL library's name starts with the given string. It is based on the OpenSSL_version function which returns the same output as the "openssl version" command.