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
LSH
lsh
Commits
854c8552
Commit
854c8552
authored
Jan 10, 1999
by
Niels Möller
Browse files
Use sexp_un().
Rev: src/lsh_keygen.c:1.7
parent
563754ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lsh_keygen.c
View file @
854c8552
...
...
@@ -175,11 +175,11 @@ int main(int argc, char **argv)
struct
lsh_string
*
key
=
sexp_format
(
sexp_l
(
2
,
sexp_z
(
"private-key"
),
sexp_l
(
6
,
sexp_z
(
"dss"
),
sexp_l
(
2
,
sexp_z
(
"p"
),
sexp_n
(
public
.
p
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"q"
),
sexp_n
(
public
.
q
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"g"
),
sexp_n
(
public
.
g
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"y"
),
sexp_n
(
public
.
y
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"x"
),
sexp_n
(
x
),
-
1
),
-
1
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"p"
),
sexp_
u
n
(
public
.
p
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"q"
),
sexp_
u
n
(
public
.
q
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"g"
),
sexp_
u
n
(
public
.
g
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"y"
),
sexp_
u
n
(
public
.
y
),
-
1
),
sexp_l
(
2
,
sexp_z
(
"x"
),
sexp_
u
n
(
x
),
-
1
),
-
1
),
-
1
),
style
,
0
);
return
LSH_FAILUREP
(
A_WRITE
(
output
,
key
))
...
...
Write
Preview
Supports
Markdown
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