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": |