From a22f77512a4591f0918ffa10b216231ca9486704 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 13 Mar 2018 10:31:22 +0100 Subject: [PATCH] bpo-30622: Fix backport of NPN fix Fix backport a79591cf of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 2fe696daa5e1ef..c54e43c2b48a84 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -2747,7 +2747,7 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version) return NULL; } self->ctx = ctx; -#ifdef HAVE_NPN +#if HAVE_NPN self->npn_protocols = NULL; #endif #if HAVE_ALPN