diff options
| author | jsing <> | 2019-02-23 15:00:44 +0000 |
|---|---|---|
| committer | jsing <> | 2019-02-23 15:00:44 +0000 |
| commit | 756cd22bbe03db540ba4cd81d23f6d66af89a6a6 (patch) | |
| tree | 25a9c887b7811d28c3008bd7cef5fdbbae0dc050 /src/lib/libcrypto/ecdsa/ecs_ossl.c | |
| parent | 375349e3dab4ad23aaba1771a89b29b9525e2c0c (diff) | |
| download | openbsd-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/libcrypto/ecdsa/ecs_ossl.c')
0 files changed, 0 insertions, 0 deletions
