More tests

This commit is contained in:
Frank Denis
2019-05-06 13:02:20 +02:00
parent 011343e88c
commit 6d9e2f0c84
2 changed files with 49 additions and 2 deletions
+9 -2
View File
@@ -81,14 +81,21 @@ void tv2(void)
assert(crypto_box_curve25519xchacha20poly1305_sealbytes() ==
crypto_box_curve25519xchacha20poly1305_SEALBYTES);
}
#else
static
void tv2(void)
{
printf("0\n-1\n-1\n-1\n");
}
#endif
int
main(void)
{
tv1();
#ifndef SODIUM_LIBRARY_MINIMAL
tv2();
#endif
return 0;
}