From 69e9c69e70a4ef1a9a2d68fdc4ef85b96a5a1800 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 11 Feb 2012 13:31:16 +0000 Subject: [PATCH] apps/s_cb.c: recognize latest TLS versions [from HEAD]. --- apps/s_cb.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/s_cb.c b/apps/s_cb.c index 8a9461b36..38eae7fe3 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;