summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-05-29 17:54:58 +0000
committerjsing <jsing@openbsd.org>2020-05-29 17:54:58 +0000
commitd69bc5b96c0ed03c35613c574f6f043725708ed7 (patch)
treef0315903c0d0b74530016d32934c18b30d646315 /lib/libssl/tls13_server.c
parentWire up the servername callback in the TLSv1.3 server. (diff)
downloadwireguard-openbsd-d69bc5b96c0ed03c35613c574f6f043725708ed7.tar.xz
wireguard-openbsd-d69bc5b96c0ed03c35613c574f6f043725708ed7.zip
Handle the case where we receive a valid 0 byte application data record.
In this situation we cannot return zero bytes, as that signals EOF. Rather we need to return TLS13_IO_WANT_POLLIN so tell the caller to call us again, at which point we'll pull up the next record. ok tb@
Diffstat (limited to 'lib/libssl/tls13_server.c')
0 files changed, 0 insertions, 0 deletions