Commit 192e0de8 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/dsa_keygen.c:1.3
parent d1e0e0cd
......@@ -114,8 +114,8 @@ void dss_nist_gen(mpz_t p, mpz_t q, struct randomness *r, unsigned l)
{
mpz_set(t, s);
mpz_add_ui(t, t, j + k);
hash(t, buffer + ( (n+1-k) *SHA_DIGESTSIZE));
/* FIXME: See galb's bug report */
hash(t, buffer + ( (n+1-k) * SHA_DIGESTSIZE));
}
bignum_parse_u(p, size, buffer);
......
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