From 8c2ece3bca24c8b6452860db916713b55455050e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 4 Aug 2012 21:37:46 -0700 Subject: [PATCH] Ensure self._der_cert exists even if no certs are used. --- sleekxmpp/xmlstream/xmlstream.py | 2 ++ 1 file changed, 2 insertions(+) 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