projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the return type of felem_is_zero_int which should be int.
[oweals/openssl.git]
/
apps
/
s_client.c
diff --git
a/apps/s_client.c
b/apps/s_client.c
index 85c1b6b579445aa1fcefe09043c7f3187ed11db2..dc467994f8e2423b5e6d6656a732215806b02ff6 100644
(file)
--- a/
apps/s_client.c
+++ b/
apps/s_client.c
@@
-1667,6
+1667,8
@@
int MAIN(int argc, char **argv)
if (strstr(mbuf, "/stream:features>"))
goto shut;
seen = BIO_read(sbio, mbuf, BUFSIZZ);
+ if (seen <= 0)
+ goto shut;
mbuf[seen] = 0;
}
BIO_printf(sbio,