diff --git a/lib/modules/Crypto.pmod/testsuite.in b/lib/modules/Crypto.pmod/testsuite.in
index 3f2407f27948e0106656eb38572caa115eaaf035..e35e30edbcec962f4a651f9d140a9982e8044cd9 100644
--- a/lib/modules/Crypto.pmod/testsuite.in
+++ b/lib/modules/Crypto.pmod/testsuite.in
@@ -720,32 +720,32 @@ test_eq(Crypto.SHA256.crypt_hash("the minimum number is still observed",
 
 cond_resolv(Crypto.SHA512, [[
 dnl from http://www.akkadia.org/drepper/SHA-crypt.txt:sha512crypt.c
-test_eq(Crypto.SHA152.crypt_hash("Hello world!", "saltstring", 5000),
+test_eq(Crypto.SHA512.crypt_hash("Hello world!", "saltstring", 5000),
 	"svn8UoSVapNtMuq1ukKS4tPQd8iKwSMHWjl/O817G3u"
 	"BnIFNjnQJuesI68u4OTLiBFdcbYEdFCoEOfaS35inz1")
-test_eq(Crypto.SHA152.crypt_hash("Hello world!",
+test_eq(Crypto.SHA512.crypt_hash("Hello world!",
 				 "saltstringsaltstring", 10000),
 	"OW1/O6BYHV6BcXZu8QVeXbDWra3Oeqh0sbHbbMCVNSn"
 	"CM/UrjmM0Dp8vOuZeHBy/YTBmSK6H9qs/y3RnOaw5v.")
-test_eq(Crypto.SHA152.crypt_hash("This is just a test",
+test_eq(Crypto.SHA512.crypt_hash("This is just a test",
 				 "toolongsaltstring", 5000),
 	"lQ8jolhgVRVhY4b5pZKaysCLi0QBxGoNeKQzQ3glMhw"
 	"llF7oGDZxUhx1yxdYcz/e1JSbq3y6JMxxl8audkUEm0")
-test_eq(Crypto.SHA152.crypt_hash("a very much longer text to encrypt.  "
+test_eq(Crypto.SHA512.crypt_hash("a very much longer text to encrypt.  "
 				 "This one even stretches over more"
 				 "than one line.",
 				 "anotherlongsaltstring", 1400),
 	"POfYwTEok97VWcjxIiSOjiykti.o/pQs.wPvMxQ6Fm7"
 	"I6IoYN3CmLs66x9t0oSwbtEW7o7UmJEiDwGqd8p4ur1")
-test_eq(Crypto.SHA152.crypt_hash("we have a short salt string but "
+test_eq(Crypto.SHA512.crypt_hash("we have a short salt string but "
 				 "not a short password",
 				 "short", 77777),
 	"WuQyW2YR.hBNpjjRhpYD/ifIw05xdfeEyQoMxIXbkvr"
 	"0gge1a1x3yRULJ5CCaUeOxFmtlcGZelFl5CxtgfiAc0")
-test_eq(Crypto.SHA152.crypt_hash("a short string", "asaltof16chars..", 123456),
+test_eq(Crypto.SHA512.crypt_hash("a short string", "asaltof16chars..", 123456),
 	"BtCwjqMJGx5hrJhZywWvt0RLE8uZ4oPwcelCjmw2kSY"
 	"u.Ec6ycULevoBK25fs2xXgMNrCzIMVcgEJAstJeonj1")
-test_eq(Crypto.SHA152.crypt_hash("the minimum number is still observed",
+test_eq(Crypto.SHA512.crypt_hash("the minimum number is still observed",
 				 "roundstoolow", 10),
 	"kUMsbe306n21p9R.FRkW3IGn.S9NPN0x50YhH1xhLsP"
 	"uWGsUSklZt58jaTfF4ZEQpyUNGc0dqbpBYYBaHHrsX.")