Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
854c8552
Commit
854c8552
authored
Jan 10, 1999
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use sexp_un().
Rev: src/lsh_keygen.c:1.7
parent
563754ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/lsh_keygen.c
src/lsh_keygen.c
+5
-5
No files found.
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
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