]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Implement qc_ssl_eary_data_accepted().
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 30 Aug 2024 13:16:01 +0000 (15:16 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 30 Aug 2024 15:04:09 +0000 (17:04 +0200)
commit609b1245610c8f3e219a1eff12d13559cae109cd
treec123a2845554b056d605a70890137887b3bb2d37
parente926378375bcf579daadea071c600651eb7dce0d
MINOR: quic: Implement qc_ssl_eary_data_accepted().

This function is a wrapper around SSL_get_early_data_status() for
OpenSSL derived stack and SSL_early_data_accepted() boringSSL derived
stacks like AWS-LC. It returns true for a TLS server if it has
accepted the early data received from a client.

Also implement quic_ssl_early_data_status_str() which is dedicated to be used
for debugging purposes (traces). This function converts the enum returned
by the two function mentionned above to a human readable string.
include/haproxy/quic_ssl.h