summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authortb <>2022-01-25 15:00:09 +0000
committertb <>2022-01-25 15:00:09 +0000
commitafb1b3b5e5fbc96dd8a5b8235580462f8d5d7bdf (patch)
treee540bd8be070a9daf402f10962d6f101209b86d3 /src/lib/libssl/tls13_server.c
parent06d4f8aab7ce5506a95bc3f39662c3884aeea837 (diff)
downloadopenbsd-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/tls13_server.c')
0 files changed, 0 insertions, 0 deletions