bpo-30622: Fix backport of NPN fix (#6102)
Fix backport a79591cf
of bpo-30622 to 3.6 branch.
Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
4d04cae921
commit
0ec0290a07
|
@ -2747,7 +2747,7 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
self->ctx = ctx;
|
self->ctx = ctx;
|
||||||
#ifdef HAVE_NPN
|
#if HAVE_NPN
|
||||||
self->npn_protocols = NULL;
|
self->npn_protocols = NULL;
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_ALPN
|
#if HAVE_ALPN
|
||||||
|
|
Loading…
Reference in New Issue