Remove debugging leftover in tests

This commit is contained in:
Frank Denis 2017-02-27 16:25:32 +01:00
parent 47bc8df460
commit 3cd883d33e

View File

@ -117,11 +117,6 @@ tv_stream_xchacha20(void)
tv->out, strlen(tv->out), NULL, &out_len, NULL);
out2 = (unsigned char *) sodium_malloc(out_len);
crypto_stream_xchacha20(out2, out_len, nonce, key);
{
char hex[1000];
sodium_bin2hex(hex, sizeof hex, out2, out_len);
puts(hex);
}
assert(memcmp(out, out2, out_len) == 0);
crypto_stream_xchacha20_xor(out2, out, out_len, nonce, key);
assert(sodium_is_zero(out2, out_len));