summaryrefslogtreecommitdiff
path: root/src/OpenSSL/SSL.py
diff options
context:
space:
mode:
authorTodd Chapman <chakatodd@users.noreply.github.com>2015-08-27 11:26:43 -0400
committerTodd Chapman <todd@duosecurity.com>2016-01-18 10:16:38 -0500
commit4f73e4fe3147e320412e7e794ceb63c1a6f26a46 (patch)
tree46938b02065f569f27b49d25ed064482b5f8621e /src/OpenSSL/SSL.py
parentb3316fc4e8ffabce720fa825fccc8fcb2c7256c6 (diff)
downloadpyopenssl-4f73e4fe3147e320412e7e794ceb63c1a6f26a46.tar.gz
Fixed AttributeError when calling get_app_data()
Diffstat (limited to 'src/OpenSSL/SSL.py')
-rw-r--r--src/OpenSSL/SSL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index 190e4ac..0dbabc1 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -1083,6 +1083,7 @@ class Connection(object):
ssl = _lib.SSL_new(context._context)
self._ssl = _ffi.gc(ssl, _lib.SSL_free)
self._context = context
+ self._app_data = None
# References to strings used for Next Protocol Negotiation. OpenSSL's
# header files suggest that these might get copied at some point, but