diff options
author | Jakub Sławiński | 2005-07-03 23:15:19 +0200 |
---|---|---|
committer | Joshua Judson Rosen | 2014-07-17 21:14:59 +0200 |
commit | f2e4a5f9b0919dc16ea83a8826e8d52b02178b38 (patch) | |
tree | d226d27a9b81d67fc4493b7b1856c0b040267d77 /src/make_ssl_handshake.c | |
parent | v0.7 (diff) | |
download | apf-f2e4a5f9b0919dc16ea83a8826e8d52b02178b38.tar.gz |
v0.7.1
- Added: afserver certificate storing and checking
- Modified: generating keys and certificate
- Fixed: creating apf directory
- Fixed: some bugs in proxy tunnel initialization
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; |