Commit 46fc270f authored by Niels Möller's avatar Niels Möller
Browse files

(generic_dsa_sign): Commented out debug statement that

leaks information about the secret key.

Rev: src/dsa.c:1.26
parent d685e3ff
......@@ -423,7 +423,9 @@ generic_dsa_sign(struct dsa_signer *self,
bignum_random(k, self->random, tmp);
mpz_add_ui(k, k, 1);
debug("generic_dsa_sign, k: %xn\n", k);
/* NOTE: Enabling this leaks information about the secret
* key to the debug output. */
/* debug("generic_dsa_sign, k: %xn\n", k); */
/* Compute r = (g^k (mod p)) (mod q) */
mpz_powm(r, self->verifier->g, k, self->verifier->p);
......
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