summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-08-04 21:37:46 -0700
committerLance Stout <lancestout@gmail.com>2012-08-04 21:37:46 -0700
commit8c2ece3bca24c8b6452860db916713b55455050e (patch)
tree2d038e5f8b3d9d8c042cb5568fcf9f24d1684f37
parent80a90a6221733d0985f0d585b3abbd1d8fab70b0 (diff)
downloadslixmpp-8c2ece3bca24c8b6452860db916713b55455050e.tar.gz
slixmpp-8c2ece3bca24c8b6452860db916713b55455050e.tar.bz2
slixmpp-8c2ece3bca24c8b6452860db916713b55455050e.tar.xz
slixmpp-8c2ece3bca24c8b6452860db916713b55455050e.zip
Ensure self._der_cert exists even if no certs are used.
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 4e5e2fe4..216c0ed3 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -147,6 +147,8 @@ class XMLStream(object):
#: client certificate to use for authenticating via SASL EXTERNAL.
self.keyfile = None
+ self._der_cert = None
+
#: The time in seconds to wait for events from the event queue,
#: and also the time between checks for the process stop signal.
self.wait_timeout = WAIT_TIMEOUT