Commit 356faa42 authored by Niels Möller's avatar Niels Möller
Browse files

* src/client_keyexchange.c (client_dh_init): Updated for new

dh_generate_secret, with no randomness argument.
* src/server_keyexchange.c (server_dh_init): Likewise.

Rev: src/server_keyexchange.c:1.60
parent 06dcdb1d
......@@ -28,7 +28,6 @@
#include <assert.h>
#include "atoms.h"
#include "command.h"
#include "crypto.h"
#include "format.h"
#include "lsh_string.h"
......@@ -143,8 +142,7 @@ server_dh_init(struct keyexchange_algorithm *s,
handler->key = key;
/* Generate server's secret exponent */
dh_generate_secret(self->params, connection->ctx->random,
handler->dh.secret, handler->dh.f);
dh_generate_secret(self->params, handler->dh.secret, handler->dh.f);
/* Return handler */
return &handler->super;
......
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