diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-13 20:37:09 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-13 20:37:09 -0400 |
commit | a8d1f86f8ba9b39c8f913bce99a2282d81235cc9 (patch) | |
tree | b7baa930f5695082a70b57e59e219cee9b3b0c29 | |
parent | c8a46e1c09ccbd37e570c9abd1501aaf9e73a12d (diff) |
...
-rw-r--r-- | auto_tests/messenger_test.c | 2 |
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); |