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
74314da5
Commit
74314da5
authored
Oct 06, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Initialize the bignum "a" properly.
Rev: src/lshd.c:1.11
parent
701aecb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lshd.c
src/lshd.c
+2
-2
No files found.
src/lshd.c
View file @
74314da5
...
...
@@ -86,8 +86,8 @@ static void init_host_key(struct randomness *r)
"3D73C62E8E5C5F6B8E2C70217EC3B557FBCB98535BE3C6EE"
"0C71DEC1FE9C6791D3780DD8D593D5030969D303A5818B01"
"C4B855C07E8C4F64"
,
16
);
mpz_set_str
(
a
,
"295190AEDBBD6EBD2F817F7D8CCC8B0095DCD82E"
,
16
);
mpz_
init_
set_str
(
a
,
"295190AEDBBD6EBD2F817F7D8CCC8B0095DCD82E"
,
16
);
mpz_init_set
(
tmp
,
g
);
mpz_powm
(
tmp
,
tmp
,
a
,
p
);
...
...
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