summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2015-04-16 13:25:53 -0400
committerJoe George <joe@zeroc.com>2015-04-16 13:26:31 -0400
commitdef0498c4766bf271c4007f02ee6eae2fd11453c (patch)
tree0b3c4351ce7d56ff2958d86b3141cae891ff1ef4 /cpp
parentVarious SSL fixes, tests for intermedate CAs (diff)
downloadice-def0498c4766bf271c4007f02ee6eae2fd11453c.tar.bz2
ice-def0498c4766bf271c4007f02ee6eae2fd11453c.tar.xz
ice-def0498c4766bf271c4007f02ee6eae2fd11453c.zip
Remove md5 crypt passwords from test
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/test/Glacier2/hashpassword/run.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/test/Glacier2/hashpassword/run.py b/cpp/test/Glacier2/hashpassword/run.py
index c669eee3f7f..f466a1d2d88 100755
--- a/cpp/test/Glacier2/hashpassword/run.py
+++ b/cpp/test/Glacier2/hashpassword/run.py
@@ -57,7 +57,7 @@ if usePBKDF2:
test(not passlib.hash.pbkdf2_sha512.verify("abc123", hashPasswords("abc", "-d sha512")))
#
- # Now use custom rounds, md5 digest doesn't support
+ # Now use custom rounds
#
hash = hashPasswords("abc123", "-r 1000")
if hash.find("$pbkdf2-sha256$1000$") == -1:
@@ -87,11 +87,8 @@ elif useCryptExt:
test(passlib.hash.sha256_crypt.verify("abc123", hashPasswords("abc123", "-d sha256")))
test(not passlib.hash.sha256_crypt.verify("abc123", hashPasswords("abc", "-d sha256")))
- test(passlib.hash.md5_crypt.verify("abc123", hashPasswords("abc123", "-d md5")))
- test(not passlib.hash.md5_crypt.verify("abc123", hashPasswords("abc", "-d md5")))
-
#
- # Now use custom rounds, md5 digest doesn't support custom rounds
+ # Now use custom rounds
#
hash = hashPasswords("abc123", "-r 5000")
if hash.find("rounds=") != -1: