MINOR: ssl: Add new ssl_fc_hsk_err sample fetch
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 29 Jul 2021 07:45:51 +0000 (09:45 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 29 Jul 2021 13:40:45 +0000 (15:40 +0200)
commit7c6898ee4907e66c000a77ec32effd5acf1b99d8
tree4f70104b7a865e005c3f815cf79c09e4424db8aa
parent89b65cfd52a0e78255a149d8a6ee5d12936a32c7
MINOR: ssl: Add new ssl_fc_hsk_err sample fetch

This new sample fetch along the ssl_fc_hsk_err_str fetch contain the
last SSL error of the error stack that occurred during the SSL
handshake (from the frontend's perspective). The errors happening during
the client's certificate verification will still be given by the
ssl_c_err and ssl_c_ca_err fetches. This new fetch will only hold errors
retrieved by the OpenSSL ERR_get_error function.
doc/configuration.txt
include/haproxy/ssl_sock-t.h
src/ssl_sample.c
src/ssl_sock.c