From a45db022e968a09b76012866d379e128fd6a4937 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 6 Nov 2016 11:18:55 +0100 Subject: [PATCH] bcrypt: Fix type of shalen Signed-off-by: Andreas Schneider --- src/external/bcrypt_pbkdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/bcrypt_pbkdf.c b/src/external/bcrypt_pbkdf.c index 00314c21..55868819 100644 --- a/src/external/bcrypt_pbkdf.c +++ b/src/external/bcrypt_pbkdf.c @@ -69,7 +69,7 @@ bcrypt_hash(uint8_t *sha2pass, uint8_t *sha2salt, uint8_t *out) uint32_t cdata[BCRYPT_BLOCKS]; int i; uint16_t j; - size_t shalen = SHA512_DIGEST_LENGTH; + uint16_t shalen = SHA512_DIGEST_LENGTH; /* key expansion */ Blowfish_initstate(&state);