summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-24 11:15:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-07-24 11:15:55 +0000
commitb4c81fb6dbd1ee884dff681a94bab4ab9ec59377 (patch)
tree4d90340447edb648e8abaa0767677542c6d1ead1 /apps/s_cb.c
parent0f566bda2bed59baf056f337e59a8ed88f08e351 (diff)
Update from 0.9.8-stable
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 41f789af48..3fc73a27aa 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -338,6 +338,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 DTLS1_VERSION:
+ str_version = "DTLS 1.0 ";
+ break;
+ case DTLS1_BAD_VER:
+ str_version = "DTLS 1.0 (bad) ";
+ break;
default:
str_version = "???";
}
@@ -403,7 +409,10 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void *
}
}
- if (version == SSL3_VERSION || version == TLS1_VERSION)
+ if (version == SSL3_VERSION ||
+ version == TLS1_VERSION ||
+ version == DTLS1_VERSION ||
+ version == DTLS1_BAD_VER)
{
switch (content_type)
{
@@ -542,6 +551,9 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void *
case 2:
str_details1 = ", ServerHello";
break;
+ case 3:
+ str_details1 = ", HelloVerifyRequest";
+ break;
case 11:
str_details1 = ", Certificate";
break;