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
bca76aab
Commit
bca76aab
authored
Sep 30, 2002
by
Niels Möller
Browse files
(rsa_keypair_from_sexp): Bugfix: Call
rsa_prepare_public_key and rsa_prepare_private_key. Rev: src/nettle/sexp2rsa.c:1.2
parent
b4f863a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
sexp2rsa.c
View file @
bca76aab
...
...
@@ -102,12 +102,18 @@ rsa_keypair_from_sexp(struct rsa_public_key *pub,
GET
(
priv
->
a
,
&
values
[
5
]);
GET
(
priv
->
b
,
&
values
[
6
]);
GET
(
priv
->
c
,
&
values
[
7
]);
if
(
!
rsa_prepare_private_key
(
priv
))
return
0
;
}
if
(
pub
)
{
GET
(
pub
->
n
,
&
values
[
0
]);
GET
(
pub
->
e
,
&
values
[
1
]);
if
(
!
rsa_prepare_public_key
(
pub
))
return
0
;
}
return
1
;
...
...
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