Fixed stupid copy pasting mistake.

This commit is contained in:
irungentoo 2013-08-01 16:15:10 -04:00
parent ffd69a6525
commit 79f0a2ccba

View File

@ -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;