diff options
author | tb <> | 2024-02-03 19:57:14 +0000 |
---|---|---|
committer | tb <> | 2024-02-03 19:57:14 +0000 |
commit | d78431a5a32e7fdfebee212e4be5965a02960850 (patch) | |
tree | 73e2a8d771c1a0098fc5670da527bf1c51c5f9c7 /src/lib/libssl/ssl_lib.c | |
parent | 7560cd6b70a56d383514ea4d46091a8dc189fbf1 (diff) | |
download | openbsd-d78431a5a32e7fdfebee212e4be5965a02960850.tar.gz openbsd-d78431a5a32e7fdfebee212e4be5965a02960850.tar.bz2 openbsd-d78431a5a32e7fdfebee212e4be5965a02960850.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 '')
0 files changed, 0 insertions, 0 deletions