Skip to content

Commit 15b6400

Browse files
tiranned-deily
authored andcommitted
bpo-30622: Fix backport of NPN fix (python#6102)
Fix backport a79591c of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes <christian@python.org>
1 parent f03c514 commit 15b6400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2747,7 +2747,7 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version)
27472747
return NULL;
27482748
}
27492749
self->ctx = ctx;
2750-
#ifdef HAVE_NPN
2750+
#if HAVE_NPN
27512751
self->npn_protocols = NULL;
27522752
#endif
27532753
#if HAVE_ALPN

0 commit comments

Comments
 (0)