summaryrefslogtreecommitdiffstats
path: root/apps/s_time.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-03-31 01:18:31 +0200
committerMatt Caswell <matt@openssl.org>2015-05-16 10:20:31 +0200
commit13c9bb3ecec5f847b4c5295249e039d386e2d10e (patch)
tree8a3c816a718d72049d44dc24b6c2239fe954eab0 /apps/s_time.c
parentServer side version negotiation rewrite (diff)
downloadopenssl-13c9bb3ecec5f847b4c5295249e039d386e2d10e.tar.xz
openssl-13c9bb3ecec5f847b4c5295249e039d386e2d10e.zip
Client side version negotiation rewrite
Continuing from the previous commit this changes the way we do client side version negotiation. Similarly all of the s23* "up front" state machine code has been avoided and again things now work much the same way as they already did for DTLS, i.e. we just do most of the work in the ssl3_get_server_hello() function. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'apps/s_time.c')
-rw-r--r--apps/s_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index 5bca72ba72..74decd23bc 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -167,7 +167,7 @@ int s_time_main(int argc, char **argv)
int exitNow = 0; /* Set when it's time to exit main */
#endif
- meth = SSLv23_client_method();
+ meth = TLS_client_method();
verify_depth = 0;
verify_error = X509_V_OK;