From 5c587fb6b996d47771bcaecd71489e4849103f56 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sun, 9 Dec 2018 20:53:05 +0100 Subject: Use (D)TLS_MAX_VERSION_INTERNAL internally Use 0 if we don't want to set a minimum or maximum version Reviewed-by: Matt Caswell GH: #7260 --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl/t1_lib.c') diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index ee2278c6f8..5dc645ad5e 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -121,7 +121,7 @@ int tls1_clear(SSL *s) return 0; if (s->method->version == TLS_ANY_VERSION) - s->version = TLS_MAX_VERSION; + s->version = TLS_MAX_VERSION_INTERNAL; else s->version = s->method->version; -- cgit v1.2.3