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:
66d9f2e
)
don't check errno is zero, just print out message
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 Dec 2012 03:39:23 +0000
(
03:39
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 Dec 2012 03:39:23 +0000
(
03:39
+0000)
apps/s_client.c
patch
|
blob
|
history
diff --git
a/apps/s_client.c
b/apps/s_client.c
index 9c852e4edac7a782d37c3d42790c9e49efcf37be..14841ca1e3c0ef30c844fcb61abf02ba2c6fcdeb 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
&& c_brief
)
+ if (ret == 0)
BIO_puts(bio_err, "CONNECTION CLOSED BY SERVER\n");
else
BIO_printf(bio_err,"read:errno=%d\n",ret);