mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed stupid copy pasting mistake.
This commit is contained in:
parent
ffd69a6525
commit
79f0a2ccba
|
@ -75,7 +75,7 @@ int encrypt_data(uint8_t *public_key, uint8_t *secret_key, uint8_t *nonce,
|
|||
uint32_t i;
|
||||
uint32_t check = 0;
|
||||
for(i = 0; i < crypto_box_BOXZEROBYTES; ++i) {
|
||||
check |= temp_plain[i] ^ 0;
|
||||
check |= temp_encrypted[i] ^ 0;
|
||||
}
|
||||
if(check != 0)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user