fixed possible WHY2_v4 security problem
This commit is contained in:
parent
5f1b5e2f92
commit
035928456e
@ -306,7 +306,7 @@ void why2_generate_text_key_chain(char *key, int *text_key_chain, int text_key_c
|
||||
|
||||
case WHY2_v4:
|
||||
number_buffer_2 = text_key_chain_size - (i + 1);
|
||||
number_buffer_3 = (why2_get_key_length() ^ text_key_chain_size) >> (number_buffer & (i < text_key_chain_size)); //gl fucker
|
||||
number_buffer_3 = (why2_get_key_length() ^ text_key_chain_size) >> (((number_buffer ^ number_buffer_2) % 2) & (i < text_key_chain_size)); //gl fucker
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user