summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-02-11 13:31:16 +0000
committerAndy Polyakov <appro@openssl.org>2012-02-11 13:31:16 +0000
commit69e9c69e70a4ef1a9a2d68fdc4ef85b96a5a1800 (patch)
tree2b889e69cea0285337716904b4d2aa3c9c0c14e4 /apps/s_cb.c
parentc489ea7d01c24202515c4147080c70258c75cbcf (diff)
apps/s_cb.c: recognize latest TLS versions [from HEAD].
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c6
1 files changed, 6 insertions, 0 deletions
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;