commit | 579259d150d50468e7ad8efe917910c090483cce | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 05 19:12:54 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 06 09:20:07 2021 +0100 |
tree | f64b3bbe716b1df449d5914a810732d72e3fdc8f | |
parent | 2ed7350f4ca0ce97ceae8fa45b475e1fe1ca8165 [diff] |
MINOR: ssl: make the ssl_fc_sni() sample-fetch function always available Its definition is enclosed inside an ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME which is defined since OpenSSL 0.9.8. Having it conditioned like this prevents us from using it by default in a log format, which could cause an error on an old or exotic library. Let's just always define it and make the sample fetch fail to return anything on such libs instead.