Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: third_party/tlslite/test/twistedclient.py

Issue 210323002: Update tlslite to 0.4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Executable bit and --similarity=80 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/test/test.txt ('k') | third_party/tlslite/test/twistedserver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « third_party/tlslite/test/test.txt ('k') | third_party/tlslite/test/twistedserver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698