Permalink
Browse files

automatically create a default SSL client context when none is given

  • Loading branch information...
1 parent 164c137 commit e23f1881bbb3d4136f4a994595768c02020d63c9 @oberstet oberstet committed Mar 15, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 autobahn/autobahn/fuzzing.py
@@ -1069,12 +1069,6 @@ class FuzzingClientFactory(FuzzingFactory, WebSocketClientFactory):
def __init__(self, spec):
- if spec.get("enable-ssl", False):
- from twisted.internet import ssl
- self.contextFactory = ssl.ClientContextFactory()
- else:
- self.contextFactory = None
-
WebSocketClientFactory.__init__(self)
FuzzingFactory.__init__(self, spec.get("outdir", "./reports/servers/"))

0 comments on commit e23f188

Please sign in to comment.