mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
12 lines
414 B
Diff
12 lines
414 B
Diff
--- a/other/other.c
|
|
+++ b/other/other.c
|
|
@@ -659,7 +659,7 @@ bcrypt_hash(u_int8_t *sha2pass, u_int8_t *sha2salt, u_int8_t *out)
|
|
cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext),
|
|
&j);
|
|
for (i = 0; i < 64; i++)
|
|
- blf_enc(&state, cdata, sizeof(cdata) / sizeof(uint64_t));
|
|
+ blf_enc(&state, cdata, sizeof(cdata) / sizeof(uint32_t));
|
|
|
|
/* copy out */
|
|
for (i = 0; i < BCRYPT_BLOCKS; i++) {
|