From: Christian Heimes Date: Wed, 14 Mar 2018 06:40:20 +0000 (+0100) Subject: bpo-30622: Fix backport of NPN fix (#6102) X-Git-Tag: v3.6.6rc1~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ec0290a075ad3ac7d9990efd701c81da16293c0;p=python bpo-30622: Fix backport of NPN fix (#6102) Fix backport a79591cf of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 2fe696daa5..c54e43c2b4 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