bpo-30622: Fix backport of NPN fix (#6102) · python/cpython@0ec0290 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 0ec0290
Fix backport a79591c of bpo-30622 to 3.6 branch. Signed-off-by: Christian Heimes christian@python.org
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2747,7 +2747,7 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version) | ||
2747 | 2747 | return NULL; |
2748 | 2748 | } |
2749 | 2749 | self->ctx = ctx; |
2750 | -#ifdef HAVE_NPN | |
2750 | +#if HAVE_NPN | |
2751 | 2751 | self->npn_protocols = NULL; |
2752 | 2752 | #endif |
2753 | 2753 | #if HAVE_ALPN |