Commit 74314da5 authored by Niels Möller's avatar Niels Möller
Browse files

Bugfix: Initialize the bignum "a" properly.

Rev: src/lshd.c:1.11
parent 701aecb0
......@@ -86,8 +86,8 @@ static void init_host_key(struct randomness *r)
"C4B855C07E8C4F64", 16);
"295190AEDBBD6EBD2F817F7D8CCC8B0095DCD82E", 16);
"295190AEDBBD6EBD2F817F7D8CCC8B0095DCD82E", 16);
mpz_init_set(tmp, g);
mpz_powm(tmp, tmp, a, p);
Supports Markdown
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