summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake_msg.c
diff options
context:
space:
mode:
authortb <>2024-02-03 19:57:14 +0000
committertb <>2024-02-03 19:57:14 +0000
commita9a190e264e21a6afd45894057d027938dc9fa82 (patch)
tree73e2a8d771c1a0098fc5670da527bf1c51c5f9c7 /src/lib/libssl/tls13_handshake_msg.c
parent83d44db7e64e388896b56dd02b9501a0fc40a373 (diff)
downloadopenbsd-a9a190e264e21a6afd45894057d027938dc9fa82.tar.gz
openbsd-a9a190e264e21a6afd45894057d027938dc9fa82.tar.bz2
openbsd-a9a190e264e21a6afd45894057d027938dc9fa82.zip
Rework the exit path of tls13_handshake_recv_action()
If an error occurs in action->recv() for a handshake that needs to downgrade to legacy TLS, the artistic exit path led to hiding the error under TLS13_IO_USE_LEGACY. Rework the exit path to be easier to follow, preserving behavior except that the error can no longer be masked. Detailed analysis and initial diff by Masaru Masuda. Fixes https://github.com/libressl/openbsd/issues/146 ok beck
Diffstat (limited to 'src/lib/libssl/tls13_handshake_msg.c')
0 files changed, 0 insertions, 0 deletions