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
577e1b4f
Commit
577e1b4f
authored
Oct 01, 2002
by
Niels Möller
Browse files
* examples/rsa-keygen.c (main): Bug fix, private key wasn't
written properly. Rev: src/nettle/examples/rsa-keygen.c:1.5
parent
5ab0726d
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/rsa-keygen.c
View file @
577e1b4f
...
...
@@ -130,7 +130,7 @@ main(int argc, char **argv)
return
EXIT_FAILURE
;
}
if
(
!
rsa_keypair_to_sexp
(
&
p
ub
_buffer
,
&
pub
,
&
priv
))
if
(
!
rsa_keypair_to_sexp
(
&
p
riv
_buffer
,
&
pub
,
&
priv
))
{
werror
(
"Formatting private key failed.
\n
"
);
return
EXIT_FAILURE
;
...
...
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