| Index: third_party/tlslite/test/twistedclient.py
|
| diff --git a/third_party/tlslite/test/twistedclient.py b/third_party/tlslite/test/twistedclient.py
|
| deleted file mode 100644
|
| index 4f6c86af363bf5f475c102b5cef23c0be3f995c4..0000000000000000000000000000000000000000
|
| --- a/third_party/tlslite/test/twistedclient.py
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -
|
| -from tlslite.api import *
|
| -import socket
|
| -
|
| -s = socket.socket()
|
| -
|
| -s.connect( ("localhost", 1079) )
|
| -
|
| -"""
|
| -#Only use this for Echo2
|
| -s.send("000\r\n")
|
| -while 1:
|
| - val= s.recv(100)
|
| - print val,
|
| - if val.endswith("000\r\n"):
|
| - break
|
| -
|
| -s.send("STARTTLS\r\n")
|
| -"""
|
| -
|
| -connection = TLSConnection(s)
|
| -#connection.handshakeClientNoAuth()
|
| -connection.handshakeClientSRP("test", "password")
|
| -
|
| -connection.send("abc\r\n")
|
| -print connection.recv(100),
|
| -print connection.recv(100),
|
| -
|
| -connection.send("def\r\n")
|
| -print connection.recv(100),
|
| -
|
| -connection.close()
|
| -connection.sock.close()
|
|
|