OpenBSD/src 7rziXfilib/libssl tls13_lib.c

   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@
VersionDeltaFile
1.5+3-1lib/libssl/tls13_lib.c
+3-11 files

UnifiedSplitRaw