summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_record_layer.c
diff options
context:
space:
mode:
authorjsing <>2019-02-23 15:00:44 +0000
committerjsing <>2019-02-23 15:00:44 +0000
commit756cd22bbe03db540ba4cd81d23f6d66af89a6a6 (patch)
tree25a9c887b7811d28c3008bd7cef5fdbbae0dc050 /src/lib/libssl/tls13_record_layer.c
parent375349e3dab4ad23aaba1771a89b29b9525e2c0c (diff)
downloadopenbsd-756cd22bbe03db540ba4cd81d23f6d66af89a6a6.tar.gz
openbsd-756cd22bbe03db540ba4cd81d23f6d66af89a6a6.tar.bz2
openbsd-756cd22bbe03db540ba4cd81d23f6d66af89a6a6.zip
Set BIO retry on TLS13_IO_WANT_POLLIN/TLS13_IO_WANT_POLLOUT.
In most cases a TLS13_IO_WANT_POLLIN or TLS13_IO_WANT_POLLOUT will have bubbled up from the wire callbacks, in which case the BIO retry flag will already be set. However, if we return TLS13_IO_WANT_POLLIN or TLS13_IO_WANT_POLLOUT from a higher layer the BIO retry flag will not be set and that will cause SSL_get_error() to return SSL_ERROR_SYSCALL rather than the intended SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. ok beck@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_record_layer.c')
0 files changed, 0 insertions, 0 deletions