projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ssl_send_data(): Prevent endless loop
[privoxy.git]
/
openssl.c
diff --git
a/openssl.c
b/openssl.c
index
3125021
..
6cc2af5
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-171,7
+171,7
@@
extern int ssl_send_data(struct ssl_attr *ssl_attr, const unsigned char *buf, si
*/
while ((ret = BIO_write(bio,
(const unsigned char *)(buf + pos),
- send_len)) < 0)
+ send_len)) <
=
0)
{
if (!BIO_should_retry(bio))
{