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
06dcdb1d
Commit
06dcdb1d
authored
Aug 03, 2008
by
Niels Möller
Browse files
(client_dh_init): Updated for new
dh_generate_secret, with no randomness argument. Rev: src/client_keyexchange.c:1.70
parent
152c9b42
Changes
1
Show whitespace changes
Inline
Side-by-side
src/client_keyexchange.c
View file @
06dcdb1d
...
...
@@ -30,7 +30,6 @@
#include "keyexchange.h"
#include "atoms.h"
#include "command.h"
#include "crypto.h"
#include "format.h"
#include "lsh_string.h"
...
...
@@ -154,8 +153,7 @@ client_dh_init(struct keyexchange_algorithm *s,
handler
->
hostkey_algorithm
=
connection
->
kex
.
hostkey_algorithm
;
/* Generate clients 's secret exponent */
dh_generate_secret
(
self
->
params
,
connection
->
ctx
->
random
,
handler
->
dh
.
secret
,
handler
->
dh
.
e
);
dh_generate_secret
(
self
->
params
,
handler
->
dh
.
secret
,
handler
->
dh
.
e
);
/* Send client's message */
transport_send_packet
(
connection
,
1
,
...
...
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