diff options
Diffstat (limited to 'auto_tests')
-rw-r--r-- | auto_tests/crypto_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_tests/crypto_test.c b/auto_tests/crypto_test.c index 39893515..252f7275 100644 --- a/auto_tests/crypto_test.c +++ b/auto_tests/crypto_test.c | |||
@@ -209,11 +209,11 @@ START_TEST(test_large_data) | |||
209 | 209 | ||
210 | unsigned char n[crypto_box_NONCEBYTES]; | 210 | unsigned char n[crypto_box_NONCEBYTES]; |
211 | 211 | ||
212 | unsigned char m1[MAX_DATA_SIZE - crypto_box_MACBYTES]; | 212 | unsigned char m1[MAX_CRYPTO_PACKET_SIZE - crypto_box_MACBYTES]; |
213 | unsigned char c1[sizeof(m1) + crypto_box_MACBYTES]; | 213 | unsigned char c1[sizeof(m1) + crypto_box_MACBYTES]; |
214 | unsigned char m1prime[sizeof(m1)]; | 214 | unsigned char m1prime[sizeof(m1)]; |
215 | 215 | ||
216 | unsigned char m2[MAX_DATA_SIZE]; | 216 | unsigned char m2[MAX_CRYPTO_PACKET_SIZE]; |
217 | unsigned char c2[sizeof(m2) + crypto_box_MACBYTES]; | 217 | unsigned char c2[sizeof(m2) + crypto_box_MACBYTES]; |
218 | 218 | ||
219 | int c1len, c2len; | 219 | int c1len, c2len; |