This commit is contained in:
irungentoo 2013-08-13 20:37:09 -04:00
parent c8a46e1c09
commit a8d1f86f8b

View File

@ -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);