提交 bdfa4ff9 编写于 作者: D Dr. Stephen Henson

Update from 0.9.8-stable

上级 8b69d9d2
...@@ -338,6 +338,12 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void * ...@@ -338,6 +338,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 DTLS1_VERSION:
str_version = "DTLS 1.0 ";
break;
case DTLS1_BAD_VER:
str_version = "DTLS 1.0 (bad) ";
break;
default: default:
str_version = "???"; str_version = "???";
} }
...@@ -403,7 +409,10 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void * ...@@ -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) switch (content_type)
{ {
...@@ -542,6 +551,9 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void * ...@@ -542,6 +551,9 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void *
case 2: case 2:
str_details1 = ", ServerHello"; str_details1 = ", ServerHello";
break; break;
case 3:
str_details1 = ", HelloVerifyRequest";
break;
case 11: case 11:
str_details1 = ", Certificate"; str_details1 = ", Certificate";
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册