From: Alessandro Ghedini Date: Wed, 19 Aug 2015 15:12:31 +0000 (+0200) Subject: GH371: Print debug info for ALPN extension X-Git-Tag: OpenSSL_1_0_2e~126 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d07f60a025df7cb34efce9f5122c8f682bbc070;p=oweals%2Fopenssl.git 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) --- 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";