1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix build error.

This commit is contained in:
Giuseppe Scrivano 2011-04-18 14:32:14 +02:00
parent 8d764f3ac6
commit 1eb1e76e9a
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-04-18 Giuseppe Scrivano <gscrivano@gnu.org>
* openssl.c (openssl_read): Fix build error.
2011-04-17 Giuseppe Scrivano <gscrivano@gnu.org> 2011-04-17 Giuseppe Scrivano <gscrivano@gnu.org>
* wget.h [HAVE_LIBSSL32]: Define HAVE_SSL. * wget.h [HAVE_LIBSSL32]: Define HAVE_SSL.

View File

@ -263,9 +263,8 @@ openssl_read (int fd, char *buf, int bufsize, void *arg)
do do
ret = SSL_read (conn, buf, bufsize); ret = SSL_read (conn, buf, bufsize);
while (ret == -1 while (ret == -1
&& (SSL_get_error (conn, ret) == SSL_ERROR_WANT_READ
|| (SSL_get_error (conn, ret) == SSL_ERROR_SYSCALL || (SSL_get_error (conn, ret) == SSL_ERROR_SYSCALL
&& errno == EINTR))); && errno == EINTR));
return ret; return ret;
} }