commit | a96b582d0eaf1a7a9b21c71b8eda2965f74699d4 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Thu Oct 17 13:25:14 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 18 15:18:52 2019 +0200 |
tree | 0395cadf88a68c149a41be4fbba0f4e8cb607cf9 | |
parent | 054563de13836ca9926db1ea8dac8e251ac43d7b [diff] |
CLEANUP: ssl: make ssl_sock_put_ckch_into_ctx handle errcode/warn ssl_sock_put_ckch_into_ctx used to return 0 or >0 to indicate success or failure. Make it return a set of ERR_* instead so that its callers can transparently report its status. Given that its callers only used to know about ERR_ALERT | ERR_FATAL, this is the only code returned for now. And a comment was updated.