mirror of
https://github.com/openssl/openssl.git
synced 2024-12-01 14:03:45 +08:00
oops, really check brief mode only ;-)
This commit is contained in:
parent
5447f836a0
commit
2537d46903
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user