summaryrefslogtreecommitdiff
path: root/src/crypt/crypt_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt/crypt_sha256.c')
-rw-r--r--src/crypt/crypt_sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypt/crypt_sha256.c b/src/crypt/crypt_sha256.c
index 2dc27ee7..076e4b16 100644
--- a/src/crypt/crypt_sha256.c
+++ b/src/crypt/crypt_sha256.c
@@ -172,7 +172,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 50000
+#define ROUNDS_MAX 9999999
/* hash n bytes of the repeated md message digest */
static void hashmd(struct sha256 *s, unsigned int n, const void *md)