mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
bcrypt: Fix type of shalen
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
2
src/external/bcrypt_pbkdf.c
vendored
2
src/external/bcrypt_pbkdf.c
vendored
@@ -69,7 +69,7 @@ bcrypt_hash(uint8_t *sha2pass, uint8_t *sha2salt, uint8_t *out)
|
|||||||
uint32_t cdata[BCRYPT_BLOCKS];
|
uint32_t cdata[BCRYPT_BLOCKS];
|
||||||
int i;
|
int i;
|
||||||
uint16_t j;
|
uint16_t j;
|
||||||
size_t shalen = SHA512_DIGEST_LENGTH;
|
uint16_t shalen = SHA512_DIGEST_LENGTH;
|
||||||
|
|
||||||
/* key expansion */
|
/* key expansion */
|
||||||
Blowfish_initstate(&state);
|
Blowfish_initstate(&state);
|
||||||
|
|||||||
Reference in New Issue
Block a user