commit 37b32150292c712dd823fdf810e7ee766a2358a9
parent 6aaceedcc36a36f52cfb27bfdbcfde2ba71381da
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 12 Aug 2023 19:21:36 +0200
Add TLS_WANT on tls_close too.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -1164,7 +1164,7 @@ read_selector_again:
if (tlsclientreader) {
wlen = TLS_WANT_POLLIN;
while (wlen == TLS_WANT_POLLIN \
- wlen == TLS_WANT_POLLOUT) {
+ || wlen == TLS_WANT_POLLOUT) {
wlen = tls_close(tlsclientctx);
}
tls_free(tlsclientctx);