diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c index 7f135a02..f04d3f10 100644 --- a/auto_tests/messenger_test.c +++ b/auto_tests/messenger_test.c @@ -124,7 +124,7 @@ START_TEST(test_m_addfriend) int bad_len = strlen(bad_data); int really_bad_len = (MAX_DATA_SIZE - crypto_box_PUBLICKEYBYTES - crypto_box_NONCEBYTES - crypto_box_BOXZEROBYTES -*/ + crypto_box_ZEROBYTES + 100); + + crypto_box_ZEROBYTES + 100); */ /* TODO: Update this properly to latest master if(m_addfriend(m, (uint8_t *)friend_id, (uint8_t *)good_data, really_bad_len) != FAERR_TOOLONG) ck_abort_msg("m_addfriend did NOT catch the following length: %d\n", really_bad_len);