Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicolas Mora
nettle
Commits
91c0fc50
Commit
91c0fc50
authored
Sep 03, 2016
by
Niels Möller
Browse files
Prune a few trailing spaces.
parent
369d8dec
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/nettle-pbkdf2.c
View file @
91c0fc50
...
...
@@ -150,7 +150,7 @@ main (int argc, char **argv)
base16_decode_init
(
&
base16
);
if
(
!
base16_decode_update
(
&
base16
,
&
salt_length
,
salt
,
&
salt_length
,
salt
,
salt_length
,
salt
)
||
!
base16_decode_final
(
&
base16
))
die
(
"Invalid salt (expecting hex encoding).
\n
"
);
...
...
@@ -164,7 +164,7 @@ main (int argc, char **argv)
die
(
"Reading password input failed: %s.
\n
"
,
strerror
(
errno
));
output
=
xalloc
(
output_length
);
pbkdf2_hmac_sha256
(
password_length
,
(
const
uint8_t
*
)
password
,
pbkdf2_hmac_sha256
(
password_length
,
(
const
uint8_t
*
)
password
,
iterations
,
salt_length
,
salt
,
output_length
,
output
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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