apps/s_cb.c: recognize latest TLS versions [from HEAD].

This commit is contained in:
Andy Polyakov 2012-02-11 13:31:16 +00:00
parent c489ea7d01
commit 69e9c69e70

View File

@ -357,6 +357,12 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void *
case TLS1_VERSION: case TLS1_VERSION:
str_version = "TLS 1.0 "; str_version = "TLS 1.0 ";
break; break;
case TLS1_1_VERSION:
str_version = "TLS 1.1 ";
break;
case TLS1_2_VERSION:
str_version = "TLS 1.2 ";
break;
case DTLS1_VERSION: case DTLS1_VERSION:
str_version = "DTLS 1.0 "; str_version = "DTLS 1.0 ";
break; break;