diff options
author | Stu Tomlinson <stu@nosnilmot.com> | 2021-02-15 13:29:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 14:29:58 +0100 |
commit | 1f194e417d69ab0db878834cdf4c25aa00c4b044 (patch) | |
tree | 55c063bc2bcf69af500197cd969b75dbfc7a8486 /rebar.config | |
parent | According to fast_tls, only atom and binary may accompany error tuple (diff) |
fix eldap certificate verification (#3528)
Reported in #3527. Add hostname matching function, and specify SNI
Also, OTP 23 dropped backwards compatibility for 0, 1, 2 values for verify, so
replace with combination of verify_none/verify_peer and fail_if_no_peer_cert
as appropriate
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config index 2f051ffe..6578e603 100644 --- a/rebar.config +++ b/rebar.config @@ -96,6 +96,7 @@ {if_version_above, "20", {d, 'DEPRECATED_GET_STACKTRACE'}}, {if_version_below, "21", {d, 'USE_OLD_HTTP_URI'}}, {if_version_below, "22", {d, 'LAGER'}}, + {if_version_below, "21", {d, 'NO_CUSTOMIZE_HOSTNAME_CHECK'}}, {if_version_below, "23", {d, 'USE_OLD_CRYPTO_HMAC'}}, {if_version_below, "23", {d, 'USE_OLD_PG2'}}, {if_var_match, db_type, mssql, {d, 'mssql'}}, |