summaryrefslogtreecommitdiffstats
path: root/ipapython/nsslib.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-03-05 13:06:20 -0500
committerRob Crittenden <rcritten@redhat.com>2012-03-04 20:03:21 -0500
commit536bcd2666ef721ac9f34de329baaabbc4b9ce86 (patch)
tree26da4983c7262267d9ed1c5a007e10aba5a28bb5 /ipapython/nsslib.py
parent10478ac8a1105f6971f245315b5b943b47631e71 (diff)
downloadfreeipa-536bcd2666ef721ac9f34de329baaabbc4b9ce86.tar.gz
freeipa-536bcd2666ef721ac9f34de329baaabbc4b9ce86.tar.xz
freeipa-536bcd2666ef721ac9f34de329baaabbc4b9ce86.zip
Fix NSS no_init in the NSSHTTPS class
Diffstat (limited to 'ipapython/nsslib.py')
-rw-r--r--ipapython/nsslib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipapython/nsslib.py b/ipapython/nsslib.py
index cc6ab1de0..aae24467f 100644
--- a/ipapython/nsslib.py
+++ b/ipapython/nsslib.py
@@ -298,13 +298,13 @@ class NSSHTTPS(httplib.HTTP):
_connection_class = NSSConnection
- def __init__(self, host='', port=None, strict=None, dbdir=None):
+ def __init__(self, host='', port=None, strict=None, dbdir=None, no_init=False):
# provide a default host, pass the X509 cert info
# urf. compensate for bad input.
if port == 0:
port = None
- self._setup(self._connection_class(host, port, strict, dbdir=dbdir))
+ self._setup(self._connection_class(host, port, strict, dbdir=dbdir, no_init=no_init))
def getreply(self):
"""