RT2887: Add more packet and handshake types
authorDaniel Black <daniel.black@openquery.com>
Thu, 4 Feb 2016 01:04:10 +0000 (20:04 -0500)
committerRich Salz <rsalz@openssl.org>
Thu, 4 Feb 2016 13:20:25 +0000 (08:20 -0500)
Reviewed-by: Matt Caswell <matt@openssl.org>
apps/s_cb.c

index dd4aa929c2eac90146d98e5c404a9b2b526626db..b8e1ccc1f236c9b17fb76c1e5bb467aaa6a53b3d 100644 (file)
@@ -596,6 +596,7 @@ static STRINT_PAIR handshakes[] = {
     {", ClientHello", 1},
     {", ServerHello", 2},
     {", HelloVerifyRequest", 3},
+    {", NewSessionTicket", 4},
     {", Certificate", 11},
     {", ServerKeyExchange", 12},
     {", CertificateRequest", 13},
@@ -603,6 +604,9 @@ static STRINT_PAIR handshakes[] = {
     {", CertificateVerify", 15},
     {", ClientKeyExchange", 16},
     {", Finished", 20},
+    {", CertificateUrl", 21},
+    {", CertificateStatus", 22},
+    {", SupplementalData", 23},
     {NULL}
 };
 
@@ -645,6 +649,9 @@ void msg_cb(int write_p, int version, int content_type, const void *buf,
             if (len > 0)
                 str_details1 = lookup((int)bp[0], handshakes, "???");
             break;
+        case 23:
+            str_content_type = "ApplicationData";
+            break;
 #ifndef OPENSSL_NO_HEARTBEATS
         case 24:
             str_details1 = ", Heartbeat";