Skip to content
Snippets Groups Projects
Commit 2e8d8764 authored by Niels Möller's avatar Niels Möller
Browse files

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

Rev: src/nettle/dsa-sign.c:1.2
parent caf8b3f0
Branches
Tags
No related merge requests found
......@@ -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) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment