Commit 5831f51a authored by Niels Möller's avatar Niels Möller
Browse files

(display_hex): Use %02x, not %2x.

Rev: nettle/sha-example.c:1.2
parent 5e324cc0
......@@ -11,7 +11,7 @@ display_hex(unsigned length, uint8_t *data)
unsigned i;
for (i = 0; i<length; i++)
printf("%2x ", data[i]);
printf("%02x ", data[i]);
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