summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_server.c
diff options
context:
space:
mode:
authorjsing <>2020-07-25 17:44:30 +0000
committerjsing <>2020-07-25 17:44:30 +0000
commitce40926ffe997532135813e689b0f3f3f62b1f8e (patch)
treec2569f4ce1aed130927b5b181f82dec23d385f95 /src/usr.bin/openssl/s_server.c
parent86c1d3d52c1c6e9d790bd21b6cd52cafade42943 (diff)
downloadopenbsd-ce40926ffe997532135813e689b0f3f3f62b1f8e.tar.gz
openbsd-ce40926ffe997532135813e689b0f3f3f62b1f8e.tar.bz2
openbsd-ce40926ffe997532135813e689b0f3f3f62b1f8e.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/usr.bin/openssl/s_server.c')
0 files changed, 0 insertions, 0 deletions