Commit a93ae966 authored by James Ralston's avatar James Ralston Committed by Niels Möller

(test_dsa_key): Bugfix for renamed DSA

constant (noted by James Ralston).

Rev: src/nettle/ChangeLog:1.145
Rev: src/nettle/testsuite/testutils.c:1.19
parent 6ad27d1c
2002-11-08 Niels Mller <nisse@cuckoo.hack.org>
* testsuite/testutils.c (test_dsa_key): Bugfix for renamed DSA
constant (noted by James Ralston).
2002-11-07 Niels Mller <niels@s3.kth.se>
* testsuite/run-tests: Copied new version rom lsh/src/testsuite.
......
......@@ -528,8 +528,8 @@ test_dsa_key(struct dsa_public_key *pub,
mpz_init(t);
ASSERT(mpz_sizeinbase(pub->q, 2) == 160);
ASSERT(mpz_sizeinbase(pub->p, 2) >= DSA_MINIMUM_BITS);
ASSERT(mpz_sizeinbase(pub->q, 2) == DSA_Q_BITS);
ASSERT(mpz_sizeinbase(pub->p, 2) >= DSA_MIN_P_BITS);
ASSERT(mpz_probab_prime_p(pub->p, 10));
......
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