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

Unified Diff: third_party/tlslite/scripts/tls.py

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes Created 9 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/patches/tls-srp-rfc5054.patch ('k') | third_party/tlslite/tlslite/TLSConnection.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/scripts/tls.py
diff --git a/third_party/tlslite/scripts/tls.py b/third_party/tlslite/scripts/tls.py
index fa2c663f3b06bff1a2567e240e0eb5a110f2416b..e69313591f0ff6425cfd1546a22e1bb98d9ae3f7 100644
--- a/third_party/tlslite/scripts/tls.py
+++ b/third_party/tlslite/scripts/tls.py
@@ -91,7 +91,7 @@ def clientTest(address, dir):
badFault = True
connection.sock.close()
- print "Test 5 - good SRP: unknown_srp_username idiom"
+ print "Test 5 - good SRP: unknown_psk_identity idiom"
def srpCallback():
return ("test", "password")
connection = connect()
@@ -465,7 +465,7 @@ def serverTest(address, dir):
pass
connection.sock.close()
- print "Test 5 - good SRP: unknown_srp_username idiom"
+ print "Test 5 - good SRP: unknown_psk_identity idiom"
connection = connect()
connection.handshakeServer(verifierDB=verifierDB)
connection.close()
@@ -893,7 +893,7 @@ try:
raise
sys.exit()
except TLSRemoteAlert, a:
- if a.description == AlertDescription.unknown_srp_username:
+ if a.description == AlertDescription.unknown_psk_identity:
if cmd == "clientsrp":
print "Unknown username"
else:
@@ -1027,7 +1027,7 @@ try:
connection.write(s)
s = ""
except TLSLocalAlert, a:
- if a.description == AlertDescription.unknown_srp_username:
+ if a.description == AlertDescription.unknown_psk_identity:
print "Unknown SRP username"
elif a.description == AlertDescription.bad_record_mac:
if cmd == "serversrp" or cmd == "serversrpcert":
« no previous file with comments | « third_party/tlslite/patches/tls-srp-rfc5054.patch ('k') | third_party/tlslite/tlslite/TLSConnection.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698