diff options
author | tb <> | 2024-02-03 19:57:14 +0000 |
---|---|---|
committer | tb <> | 2024-02-03 19:57:14 +0000 |
commit | a9a190e264e21a6afd45894057d027938dc9fa82 (patch) | |
tree | 73e2a8d771c1a0098fc5670da527bf1c51c5f9c7 /src/lib/libssl/tls13_handshake_msg.c | |
parent | 83d44db7e64e388896b56dd02b9501a0fc40a373 (diff) | |
download | openbsd-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