Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
printf("\n");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment