aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-03-16 20:47:52 -0400
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-03-17 15:38:48 -0400
commitee3a6c646ff8ea6b9ada5a58f4a0e7c9b7be944b (patch)
tree1b1f946f3d4b65f4c0bf41479f7cbfa7b82b7a40 /ssl/ssl_lib.c
parent23d38992fca13773291ca647220707bfb0636361 (diff)
downloadopenssl-ee3a6c646ff8ea6b9ada5a58f4a0e7c9b7be944b.tar.gz
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>
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index cec3fc27f2..87e3dfad67 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -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)