Commit 06dcdb1d authored by Niels Möller's avatar 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
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "keyexchange.h" #include "keyexchange.h"
#include "atoms.h" #include "atoms.h"
#include "command.h"
#include "crypto.h" #include "crypto.h"
#include "format.h" #include "format.h"
#include "lsh_string.h" #include "lsh_string.h"
...@@ -154,8 +153,7 @@ client_dh_init(struct keyexchange_algorithm *s, ...@@ -154,8 +153,7 @@ client_dh_init(struct keyexchange_algorithm *s,
handler->hostkey_algorithm = connection->kex.hostkey_algorithm; handler->hostkey_algorithm = connection->kex.hostkey_algorithm;
/* Generate clients 's secret exponent */ /* Generate clients 's secret exponent */
dh_generate_secret(self->params, connection->ctx->random, dh_generate_secret(self->params, handler->dh.secret, handler->dh.e);
handler->dh.secret, handler->dh.e);
/* Send client's message */ /* Send client's message */
transport_send_packet(connection, 1, transport_send_packet(connection, 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment