summaryrefslogtreecommitdiff
path: root/src/crypt/crypt_sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt/crypt_sha512.c')
-rw-r--r--src/crypt/crypt_sha512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypt/crypt_sha512.c b/src/crypt/crypt_sha512.c
index 2c0de698..0f1de814 100644
--- a/src/crypt/crypt_sha512.c
+++ b/src/crypt/crypt_sha512.c
@@ -193,7 +193,7 @@ static char *to64(char *s, unsigned int u, int n)
#define SALT_MAX 16
#define ROUNDS_DEFAULT 5000
#define ROUNDS_MIN 1000
-#define ROUNDS_MAX 20000
+#define ROUNDS_MAX 9999999
/* hash n bytes of the repeated md message digest */
static void hashmd(struct sha512 *s, unsigned int n, const void *md)