aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pypy/module/_ssl/interp_ssl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
index af83dea969..0cac165ba3 100644
--- a/pypy/module/_ssl/interp_ssl.py
+++ b/pypy/module/_ssl/interp_ssl.py
@@ -90,6 +90,8 @@ def ssl_error(space, msg, errno=0):
class SSLContext(W_Root):
+ ctx = lltype.nullptr(SSL_CTX.TO)
+
def __init__(self, space, protocol):
if protocol == PY_SSL_VERSION_TLS1:
method = libssl_TLSv1_method()