mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix build error.
This commit is contained in:
parent
8d764f3ac6
commit
1eb1e76e9a
@ -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.
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user