From 2d07f60a025df7cb34efce9f5122c8f682bbc070 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Wed, 19 Aug 2015 17:12:31 +0200 Subject: [PATCH] GH371: Print debug info for ALPN extension Also known as RT 4106 Signed-off-by: Rich Salz Reviewed-by: Matt Caswell (cherry picked from commit b48357d9953decc43333979ca11ebc1500040f4e) --- apps/s_cb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/s_cb.c b/apps/s_cb.c index dd3aa74e02..5b5e711bf2 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -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"; -- 2.25.1