aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/test.py')
-rw-r--r--netlib/test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/netlib/test.py b/netlib/test.py
index 63b493a9..14f50157 100644
--- a/netlib/test.py
+++ b/netlib/test.py
@@ -67,7 +67,9 @@ class TServer(tcp.TCPServer):
file(self.ssl["cert"], "rb").read()
)
raw = file(self.ssl["key"], "rb").read()
- key = OpenSSL.crypto.load_privatekey(OpenSSL.crypto.FILETYPE_PEM, raw)
+ key = OpenSSL.crypto.load_privatekey(
+ OpenSSL.crypto.FILETYPE_PEM,
+ raw)
if self.ssl["v3_only"]:
method = tcp.SSLv3_METHOD
options = OpenSSL.SSL.OP_NO_SSLv2 | OpenSSL.SSL.OP_NO_TLSv1