Report TLS 1.0 as backwards-compatible TLSv1

The TLSv1.0 form is retained for reporting the first protocol version
that supports a given cupher.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Viktor Dukhovni
2016-03-16 20:47:52 -04:00
parent 23d38992fc
commit ee3a6c646f
2 changed files with 8 additions and 1 deletions

View File

@@ -3067,7 +3067,7 @@ const char *ssl_protocol_to_string(int version)
else if (version == TLS1_1_VERSION)
return "TLSv1.1";
else if (version == TLS1_VERSION)
return "TLSv1.0";
return "TLSv1";
else if (version == SSL3_VERSION)
return "SSLv3";
else if (version == DTLS1_BAD_VER)