Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
5831f51a
Commit
5831f51a
authored
Oct 31, 2008
by
Niels Möller
Browse files
(display_hex): Use %02x, not %2x.
Rev: nettle/sha-example.c:1.2
parent
5e324cc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
sha-example.c
View file @
5831f51a
...
...
@@ -11,7 +11,7 @@ display_hex(unsigned length, uint8_t *data)
unsigned
i
;
for
(
i
=
0
;
i
<
length
;
i
++
)
printf
(
"%2x "
,
data
[
i
]);
printf
(
"%
0
2x "
,
data
[
i
]);
printf
(
"
\n
"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment