Clarify the return value of SSL_client_version()
authorMatt Caswell <matt@openssl.org>
Mon, 3 Sep 2018 10:57:33 +0000 (11:57 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 4 Sep 2018 10:34:40 +0000 (11:34 +0100)
The SSL_client_version() function returns the value held in the
legacy_version field of the ClientHello. This is never greater than
TLSv1.2, even if TLSv1.3 later gets negotiated.

Fixes #7079

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7095)


No differences found