summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-04 18:24:21 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-05 16:12:14 -0300
commit32855d1dba7e5fd75f058dfb90c29f462525247f (patch)
tree72fa1ed804951747f1aa18b67b81760fb783f5a8
parentf90efd901c544affda7efbb3c5f303bdd5a91e17 (diff)
Reset A value from the class after we don't need it anymore
-rw-r--r--src/leap/crypto/srpauth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py
index aa9af978..eee8e525 100644
--- a/src/leap/crypto/srpauth.py
+++ b/src/leap/crypto/srpauth.py
@@ -156,6 +156,8 @@ class SRPAuth(QtCore.QObject):
verify=self._provider_config.
get_ca_cert_path(),
timeout=REQUEST_TIMEOUT)
+ # Clean up A value, we don't need it anymore
+ self._srp_a = None
except requests.exceptions.ConnectionError as e:
logger.error("No connection made (salt): %r" %
(e,))