projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5447f83
)
oops, really check brief mode only ;-)
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 Dec 2012 03:40:57 +0000
(
03:40
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 Dec 2012 03:40:57 +0000
(
03:40
+0000)
apps/s_client.c
patch
|
blob
|
history
diff --git
a/apps/s_client.c
b/apps/s_client.c
index 14841ca1e3c0ef30c844fcb61abf02ba2c6fcdeb..7041fb49feab6870ebd93c52f74129b514d7e074 100644
(file)
--- a/
apps/s_client.c
+++ b/
apps/s_client.c
@@
-1912,7
+1912,7
@@
printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240
break;
case SSL_ERROR_SYSCALL:
ret=get_last_socket_error();
- if (
ret == 0
)
+ if (
c_brief
)
BIO_puts(bio_err, "CONNECTION CLOSED BY SERVER\n");
else
BIO_printf(bio_err,"read:errno=%d\n",ret);