diff options
Diffstat (limited to 'src/make_ssl_handshake.c')
-rw-r--r-- | src/make_ssl_handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make_ssl_handshake.c b/src/make_ssl_handshake.c index d4cdd55..ffb4ebd 100644 --- a/src/make_ssl_handshake.c +++ b/src/make_ssl_handshake.c @@ -108,7 +108,7 @@ get_ssl_error(clifd *cliconn, char* info, int result) "%s(%d): unrecognized error (%d)", info, result, errno); } } - if (merror == SSL_ERROR_WANT_READ) { + if ((merror == SSL_ERROR_WANT_READ) || (merror == SSL_ERROR_WANT_WRITE)) { return 1; } return 2; |