commit | 8c5414a546c2191deeda475aa58e9b50961c8e06 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 16 17:06:25 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 18 15:18:52 2019 +0200 |
tree | ed03d1df8902c7a12a4efa07c3e4a972e878854c | |
parent | bbc91965bf4bc7e08c5a9b93fdfa28a64c0949d3 [diff] |
CLEANUP: ssl: make ssl_sock_load_ckchs() return a set of ERR_* ssl_sock_load_ckchs() used to return 0 or >0 to indicate success or failure even though this was not documented. 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 added.