]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: fix build with AWS-LC master
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 8 Aug 2025 18:17:55 +0000 (20:17 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 8 Aug 2025 18:21:14 +0000 (20:21 +0200)
commitb6702d53427a22725c125425552074c622c2f25d
treeed063f72aaa913ec2d829da4be8bd83ec3c82b6d
parent13aa5616c9f99dbca0711fd18f716bd6f48eb2ae
BUG/MEDIUM: ssl: fix build with AWS-LC

AWS-LC doesn't provide SSL_in_before(), and doesn't provide an easy way
to know if we already started the handshake or not. So instead, just add
a new field in ssl_sock_ctx, "can_write_early_data", that will be
initialized to 1, and will be set to 0 as soon as we start the
handshake.

This should be backported up to 2.8 with
13aa5616c9f99dbca0711fd18f716bd6f48eb2ae.
include/haproxy/ssl_sock-t.h
src/ssl_sock.c