| Add TLS_WANT on tls_close too. - geomyidae - A small C-based gopherd. | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit 37b32150292c712dd823fdf810e7ee766a2358a9 | |
| parent 6aaceedcc36a36f52cfb27bfdbcfde2ba71381da | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Sat, 12 Aug 2023 19:21:36 +0200 | |
| Add TLS_WANT on tls_close too. | |
| Diffstat: | |
| M main.c | 2 +- | |
| 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_WA… | |
| + || wlen == TLS… | |
| wlen = tls_close(tlscl… | |
| } | |
| tls_free(tlsclientctx); |