From: Andy Polyakov Date: Sat, 11 Feb 2012 13:31:16 +0000 (+0000) Subject: apps/s_cb.c: recognize latest TLS versions [from HEAD]. X-Git-Tag: OpenSSL_1_0_1-beta3~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69e9c69e70a4ef1a9a2d68fdc4ef85b96a5a1800;p=openssl apps/s_cb.c: recognize latest TLS versions [from HEAD]. --- diff --git a/apps/s_cb.c b/apps/s_cb.c index 8a9461b364..38eae7fe36 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -357,6 +357,12 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void * case TLS1_VERSION: str_version = "TLS 1.0 "; break; + case TLS1_1_VERSION: + str_version = "TLS 1.1 "; + break; + case TLS1_2_VERSION: + str_version = "TLS 1.2 "; + break; case DTLS1_VERSION: str_version = "DTLS 1.0 "; break;