[*] Fix bcrypt compilation regression

This commit is contained in:
Reece Wilson 2024-08-01 11:40:10 +01:00
parent 8545c59cba
commit 3c846a2ea7

View File

@ -597,7 +597,7 @@ static void BF_set_key(const char *key, int inLength, BF_key expanded, BF_key in
for (i = 0; i < BF_N + 2; i++) {
tmp[0] = tmp[1] = 0;
for (j = 0; j < 4; j++) {
auto data = key[(z++) % inLength];
int data = key[(z++) % inLength];
tmp[0] <<= 8;
tmp[0] |= (unsigned char)data; /* correct */