]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Handle session resumption with TLS 1.3
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 3 Nov 2017 12:43:35 +0000 (13:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Nov 2017 13:08:07 +0000 (14:08 +0100)
commitbd84ac873784f61a94e80678c6e677ef4c4dc894
tree02d3c3ecdbe09a445188eb3f908fb07a010cd15a
parent35a63cc1c78411c65d83b995d1fbd3d73d6bf020
MINOR: ssl: Handle session resumption with TLS 1.3

With TLS 1.3, session aren't established until after the main handshake
has completed. So we can't just rely on calling SSL_get1_session(). Instead,
we now register a callback for the "new session" event. This should work for
previous versions of TLS as well.
src/ssl_sock.c