box_easy2 test: increase the minimum test size

This commit is contained in:
Frank Denis 2017-04-07 07:59:13 -07:00
parent ad2e2a9268
commit 4809639ae1

View File

@ -29,7 +29,7 @@ main(void)
size_t c_size; size_t c_size;
int ret; int ret;
m2_size = m_size = 1U + randombytes_uniform(1000); m2_size = m_size = 7U + randombytes_uniform(1000);
c_size = crypto_box_MACBYTES + m_size; c_size = crypto_box_MACBYTES + m_size;
m = (unsigned char *) sodium_malloc(m_size); m = (unsigned char *) sodium_malloc(m_size);
m2 = (unsigned char *) sodium_malloc(m2_size); m2 = (unsigned char *) sodium_malloc(m2_size);