diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-07-16 09:39:17 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-07-16 09:39:17 -0300 |
commit | 432fcab9f838b0bfc81ed8d40d92b4b5d3854f24 (patch) | |
tree | 35f69a152468850ca0f5ad0e5b25baab131730d3 /src/leap/bitmask/crypto/tests/fake_provider.py | |
parent | 3fc88bbc70b3da4a2f8b371813bf87a42443f29c (diff) |
Code style fixes.
Diffstat (limited to 'src/leap/bitmask/crypto/tests/fake_provider.py')
-rwxr-xr-x | src/leap/bitmask/crypto/tests/fake_provider.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/crypto/tests/fake_provider.py b/src/leap/bitmask/crypto/tests/fake_provider.py index b8cdbb12..60a3ef0a 100755 --- a/src/leap/bitmask/crypto/tests/fake_provider.py +++ b/src/leap/bitmask/crypto/tests/fake_provider.py @@ -156,7 +156,7 @@ def getSession(self, sessionInterface=None): put the right cookie name in place """ if not self.session: - #cookiename = b"_".join([b'TWISTED_SESSION'] + self.sitepath) + # cookiename = b"_".join([b'TWISTED_SESSION'] + self.sitepath) cookiename = b"_".join([b'_session_id'] + self.sitepath) sessionCookie = self.getCookie(cookiename) if sessionCookie: @@ -321,7 +321,7 @@ class OpenSSLServerContextFactory(object): Create an SSL context. """ ctx = SSL.Context(SSL.SSLv23_METHOD) - #ctx = SSL.Context(SSL.TLSv1_METHOD) + # ctx = SSL.Context(SSL.TLSv1_METHOD) ctx.use_certificate_file(where('leaptestscert.pem')) ctx.use_privatekey_file(where('leaptestskey.pem')) |