summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto_tests/messenger_test.c2
1 files changed, 1 insertions, 1 deletions
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)
124 int bad_len = strlen(bad_data); 124 int bad_len = strlen(bad_data);
125 int really_bad_len = (MAX_DATA_SIZE - crypto_box_PUBLICKEYBYTES 125 int really_bad_len = (MAX_DATA_SIZE - crypto_box_PUBLICKEYBYTES
126 - crypto_box_NONCEBYTES - crypto_box_BOXZEROBYTES 126 - crypto_box_NONCEBYTES - crypto_box_BOXZEROBYTES
127*/ + crypto_box_ZEROBYTES + 100); 127 + crypto_box_ZEROBYTES + 100); */
128/* TODO: Update this properly to latest master 128/* TODO: Update this properly to latest master
129 if(m_addfriend(m, (uint8_t *)friend_id, (uint8_t *)good_data, really_bad_len) != FAERR_TOOLONG) 129 if(m_addfriend(m, (uint8_t *)friend_id, (uint8_t *)good_data, really_bad_len) != FAERR_TOOLONG)
130 ck_abort_msg("m_addfriend did NOT catch the following length: %d\n", really_bad_len); 130 ck_abort_msg("m_addfriend did NOT catch the following length: %d\n", really_bad_len);