Commit 7d838d50 authored by Niels Möller's avatar Niels Möller
Browse files

(test_xor): Added verbose printout.

Rev: nettle/testsuite/memxor-test.c:1.2
parent 07f9e436
......@@ -29,6 +29,10 @@ test_xor (const uint8_t *a, const uint8_t *b, const uint8_t *c,
uint8_t *dst = set_align (dst_buf, align_dst);
uint8_t *src = set_align (src_buf, align_src);
if (verbose)
fprintf(stderr, "size = %d, align_dst = %d, align_src = %d\n",
(int) size, align_dst, align_src);
memcpy (dst, a, size);
dst[-1] = 17;
dst[size] = 17;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment