[*] Fix bcrypt compilation regression
This commit is contained in:
parent
8545c59cba
commit
3c846a2ea7
@ -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++) {
|
for (i = 0; i < BF_N + 2; i++) {
|
||||||
tmp[0] = tmp[1] = 0;
|
tmp[0] = tmp[1] = 0;
|
||||||
for (j = 0; j < 4; j++) {
|
for (j = 0; j < 4; j++) {
|
||||||
auto data = key[(z++) % inLength];
|
int data = key[(z++) % inLength];
|
||||||
|
|
||||||
tmp[0] <<= 8;
|
tmp[0] <<= 8;
|
||||||
tmp[0] |= (unsigned char)data; /* correct */
|
tmp[0] |= (unsigned char)data; /* correct */
|
||||||
|
Loading…
Reference in New Issue
Block a user