Skip to content

Commit 0ec0290

Browse files
authored
bpo-30622: Fix backport of NPN fix (#6102)
Fix backport a79591c of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes <[email protected]>
1 parent 4d04cae commit 0ec0290

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)