Look at the supported_versions extension even if the server <TLS1.3
authorMatt Caswell <matt@openssl.org>
Mon, 31 Oct 2016 18:12:33 +0000 (18:12 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Nov 2016 16:03:08 +0000 (16:03 +0000)
commit7b21c00e1c8841a1efe654e0488d4fc9af47db4c
tree7d7982776894e18c8131c226ca72f0a698a70cf1
parentbf85ef1b60d03c76e85ec06be3999ead4533f092
Look at the supported_versions extension even if the server <TLS1.3

If supported_versions is present it takes precedence.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_lib.c
test/ssl-tests/protocol_version.pm