BUG/MINOR: ssl: don't truncate the file descriptor to 16 bits in debug mode
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Mar 2021 18:32:39 +0000 (19:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Mar 2021 17:20:50 +0000 (18:20 +0100)
commit07451aceab1ea0863b06f57629b618961edbb3ab
tree9762cecf30ec4a888c341507f2f24f01afdaadfd
parent598ec14ca797b61f25f183216323d533a7c45c5e
BUG/MINOR: ssl: don't truncate the file descriptor to 16 bits in debug mode

Errors reported by ssl_sock_dump_errors() to stderr would only report the
16 lower bits of the file descriptor because it used to be casted to ushort.
This can be backported to all versions but has really no importance in
practice since this is never seen.

(cherry picked from commit 566cebc1fc4f9908a47a1924c80ff32460543a49)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/ssl_sock.c