mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed other test.
This commit is contained in:
parent
38ebfc2989
commit
20e9d9c079
|
@ -209,11 +209,11 @@ START_TEST(test_large_data)
|
||||||
|
|
||||||
unsigned char n[crypto_box_NONCEBYTES];
|
unsigned char n[crypto_box_NONCEBYTES];
|
||||||
|
|
||||||
unsigned char m1[MAX_DATA_SIZE - crypto_box_MACBYTES];
|
unsigned char m1[MAX_CRYPTO_PACKET_SIZE - crypto_box_MACBYTES];
|
||||||
unsigned char c1[sizeof(m1) + crypto_box_MACBYTES];
|
unsigned char c1[sizeof(m1) + crypto_box_MACBYTES];
|
||||||
unsigned char m1prime[sizeof(m1)];
|
unsigned char m1prime[sizeof(m1)];
|
||||||
|
|
||||||
unsigned char m2[MAX_DATA_SIZE];
|
unsigned char m2[MAX_CRYPTO_PACKET_SIZE];
|
||||||
unsigned char c2[sizeof(m2) + crypto_box_MACBYTES];
|
unsigned char c2[sizeof(m2) + crypto_box_MACBYTES];
|
||||||
|
|
||||||
int c1len, c2len;
|
int c1len, c2len;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user