Skip to content
Snippets Groups Projects
Commit 0c7a7723 authored by Jakub Jelen's avatar Jakub Jelen Committed by Andreas Schneider
Browse files

external: Do not confuse new gcc

parent c45cfce1
No related branches found
No related tags found
Loading
......@@ -87,7 +87,7 @@ bcrypt_hash(uint8_t *sha2pass, uint8_t *sha2salt, uint8_t *out)
cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext),
&j);
for (i = 0; i < 64; i++)
ssh_blf_enc(&state, cdata, sizeof(cdata) / sizeof(uint64_t));
ssh_blf_enc(&state, cdata, BCRYPT_BLOCKS/2);
/* copy out */
for (i = 0; i < BCRYPT_BLOCKS; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment