From eb563f5a10f224a280cbb09f511ddedf059a989f Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sat, 21 Jul 2018 14:09:52 +0200 Subject: [PATCH] Fix minimum line length for token 3 in saph_sha1_parse_hash() --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 3d50e26a2..15be5a5e7 100644 --- a/src/interface.c +++ b/src/interface.c @@ -11091,7 +11091,7 @@ int saph_sha1_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_ token.attr[1] = TOKEN_ATTR_VERIFY_LENGTH | TOKEN_ATTR_VERIFY_DIGIT; - token.len_min[2] = 33; + token.len_min[2] = 32; token.len_max[2] = 49; token.attr[2] = TOKEN_ATTR_VERIFY_LENGTH | TOKEN_ATTR_VERIFY_BASE64A;