Cleanup the s_time command.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 21 Mar 2018 16:27:44 +0000 (17:27 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 21 Mar 2018 16:27:44 +0000 (17:27 +0100)
commit178a2a6f1c25d05d801544e6f18963726d90ac0b
tree25afbc610196684f16885a954e0bfd2e6f1c03e3
parent329aa3412ea1d8baa4fb09c976b11f9e7c46a762
Cleanup the s_time command.

Various code-cleanups.
Use SSL_CTX_set_mode(ctx, SSL_MODE_AUTO_RETRY) insead of handling
SSL_ERROR_WANT_READ everywhere.
Turn off the linger option on connected sockets to avoid failure.
Add BIO_set_conn_mode(conn, BIO_SOCK_NODELAY) to improve thruput.
Continue test even without -cipher option as in 1.0.2.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5698)
apps/s_time.c