Merge branch 'dev' of https://github.com/citronneur/rdpy into dev
This commit is contained in:
@@ -141,12 +141,10 @@ class X224Test(unittest.TestCase):
|
|||||||
tls_begin = False
|
tls_begin = False
|
||||||
presentation_connect = False
|
presentation_connect = False
|
||||||
class Transport(object):
|
class Transport(object):
|
||||||
def __init__(self):
|
|
||||||
class TLSTransport(object):
|
def startTLS(self, context):
|
||||||
def startTLS(self, context):
|
global tls_begin
|
||||||
global tls_begin
|
tls_begin = True
|
||||||
tls_begin = True
|
|
||||||
self.transport = TLSTransport()
|
|
||||||
|
|
||||||
class Presentation(object):
|
class Presentation(object):
|
||||||
def connect(self):
|
def connect(self):
|
||||||
@@ -214,12 +212,9 @@ class X224Test(unittest.TestCase):
|
|||||||
x224.ServerTLSContext = ServerTLSContext
|
x224.ServerTLSContext = ServerTLSContext
|
||||||
|
|
||||||
class Transport(object):
|
class Transport(object):
|
||||||
def __init__(self):
|
def startTLS(self, context):
|
||||||
class TLS(object):
|
global tls
|
||||||
def startTLS(self, context):
|
tls = True
|
||||||
global tls
|
|
||||||
tls = True
|
|
||||||
self.transport = TLS()
|
|
||||||
|
|
||||||
def send(self, data):
|
def send(self, data):
|
||||||
if not isinstance(data, x224.ServerConnectionConfirm):
|
if not isinstance(data, x224.ServerConnectionConfirm):
|
||||||
|
|||||||
Reference in New Issue
Block a user