GH371: Print debug info for ALPN extension
authorAlessandro Ghedini <alessandro@ghedini.me>
Wed, 19 Aug 2015 15:12:31 +0000 (17:12 +0200)
committerRich Salz <rsalz@openssl.org>
Wed, 26 Aug 2015 11:09:27 +0000 (07:09 -0400)
Also known as RT 4106
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit b48357d9953decc43333979ca11ebc1500040f4e)

apps/s_cb.c

index dd3aa74e02afd45695f6a57e4db43505f7eb6720..5b5e711bf2eb9c44557ce0dcf20a6f5eb04eb492 100644 (file)
@@ -981,6 +981,11 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
         extname = "next protocol";
         break;
 #endif
+#ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
+    case TLSEXT_TYPE_application_layer_protocol_negotiation:
+        extname = "application layer protocol negotiation";
+        break;
+#endif
 
     case TLSEXT_TYPE_padding:
         extname = "TLS padding";