summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authorjsing <>2020-07-25 17:44:30 +0000
committerjsing <>2020-07-25 17:44:30 +0000
commitb9177a2d382e988fb3077148268554bceba8b140 (patch)
treec2569f4ce1aed130927b5b181f82dec23d385f95 /src/lib/libssl/tls13_handshake.c
parent0030d031a0ace03c9c7be82b8c636ad0dfbda45d (diff)
downloadopenbsd-b9177a2d382e988fb3077148268554bceba8b140.tar.gz
openbsd-b9177a2d382e988fb3077148268554bceba8b140.tar.bz2
openbsd-b9177a2d382e988fb3077148268554bceba8b140.zip
Handle SSL_MODE_AUTO_RETRY being changed during a TLSv1.3 session.
Both Perl's HTTP::Tiny and IO::Socket::SSL know about SSL_MODE_AUTO_RETRY and try to work around the fact that OpenSSL enabled it by default. However, this can lead to the mode being disabled prior to the TLSv1.3 handshake and then enabled after the handshake has completed. In order to handle this correctly we have to check the mode and inform the record layer prior to every read. Issue reported and test case provided by Nathanael Rensen <nathanael@polymorpheus.com>. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_handshake.c')
0 files changed, 0 insertions, 0 deletions