aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-06 11:18:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-06 11:18:55 +0100
commita45db022e968a09b76012866d379e128fd6a4937 (patch)
treeccebef56e6c1cd745f109d914bc95042cc57061e /src
parent02be4802d5f036e777671e188781e11c9bd7ad9e (diff)
downloadlibssh-a45db022e968a09b76012866d379e128fd6a4937.tar.gz
libssh-a45db022e968a09b76012866d379e128fd6a4937.tar.xz
libssh-a45db022e968a09b76012866d379e128fd6a4937.zip
bcrypt: Fix type of shalen
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/external/bcrypt_pbkdf.c2
1 files changed, 1 insertions, 1 deletions
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);