diff options
author | tb <> | 2022-01-25 15:00:09 +0000 |
---|---|---|
committer | tb <> | 2022-01-25 15:00:09 +0000 |
commit | afb1b3b5e5fbc96dd8a5b8235580462f8d5d7bdf (patch) | |
tree | e540bd8be070a9daf402f10962d6f101209b86d3 /src/lib/libssl/ssl_both.c | |
parent | 06d4f8aab7ce5506a95bc3f39662c3884aeea837 (diff) | |
download | openbsd-afb1b3b5e5fbc96dd8a5b8235580462f8d5d7bdf.tar.gz openbsd-afb1b3b5e5fbc96dd8a5b8235580462f8d5d7bdf.tar.bz2 openbsd-afb1b3b5e5fbc96dd8a5b8235580462f8d5d7bdf.zip |
Fix another return 0 bug in SSL_shutdown()
If tls13_recod_layer_send_pending() returns TLS13_IO_EOF, we will
bubble this up to the caller via tls13_legacy_return_code(), which
translates TLS13_IO_EOF to 0. This can happen if we have pending
post handshake-handshake data and the peer closes the pipe.
Presumably tls13_legacy_shutdown() should be rewritten yet again.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_both.c')
0 files changed, 0 insertions, 0 deletions