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
Wim Lewis
nettle
Commits
f3848a07
Commit
f3848a07
authored
Nov 07, 2002
by
Niels Möller
Browse files
(rsa_keypair_to_sexp): %s -> %z renaming.
Rev: src/nettle/rsa2sexp.c:1.3
parent
38f1828d
Changes
1
Hide whitespace changes
Inline
Side-by-side
rsa2sexp.c
View file @
f3848a07
...
...
@@ -39,13 +39,13 @@ rsa_keypair_to_sexp(struct nettle_buffer *buffer,
{
if
(
priv
)
return
sexp_format
(
buffer
,
"(%
s
(%
s
(%
s
%b)(%
s
%b)(%
s
%b)"
"(%
s
%b)(%
s
%b)(%
s
%b)(%
s
%b)(%
s
%b)))"
,
"(%
z
(%
z
(%
z
%b)(%
z
%b)(%
z
%b)"
"(%
z
%b)(%
z
%b)(%
z
%b)(%
z
%b)(%
z
%b)))"
,
"private-key"
,
"rsa"
,
"n"
,
pub
->
n
,
"e"
,
pub
->
e
,
"d"
,
priv
->
d
,
"p"
,
priv
->
p
,
"q"
,
priv
->
q
,
"a"
,
priv
->
a
,
"b"
,
priv
->
b
,
"c"
,
priv
->
c
);
else
return
sexp_format
(
buffer
,
"(%
s
(%
s
(%
s
%b)(%
s
%b)))"
,
return
sexp_format
(
buffer
,
"(%
z
(%
z
(%
z
%b)(%
z
%b)))"
,
"public-key"
,
"rsa"
,
"n"
,
pub
->
n
,
"e"
,
pub
->
e
);
}
...
...
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