Commit 2e8d8764 authored by Niels Möller's avatar Niels Möller

* dsa-sign.c (dsa_sign): Bugfix, added missing mpz_init call.

Rev: src/nettle/dsa-sign.c:1.2
parent caf8b3f0
......@@ -94,6 +94,7 @@ dsa_sign(struct dsa_private_key *key,
mpz_fdiv_r(signature->r, tmp, key->pub.q);
/* Compute hash */
mpz_init(h);
_dsa_hash(h, hash);
/* Compute k^-1 (mod q) */
......
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