Skip to content
Snippets Groups Projects
Commit a93ae966 authored by James Ralston's avatar James Ralston Committed by Niels Möller
Browse files

(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
No related branches found
No related tags found
No related merge requests found
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> 2002-11-07 Niels Mller <niels@s3.kth.se>
* testsuite/run-tests: Copied new version rom lsh/src/testsuite. * testsuite/run-tests: Copied new version rom lsh/src/testsuite.
......
...@@ -528,8 +528,8 @@ test_dsa_key(struct dsa_public_key *pub, ...@@ -528,8 +528,8 @@ test_dsa_key(struct dsa_public_key *pub,
mpz_init(t); mpz_init(t);
ASSERT(mpz_sizeinbase(pub->q, 2) == 160); ASSERT(mpz_sizeinbase(pub->q, 2) == DSA_Q_BITS);
ASSERT(mpz_sizeinbase(pub->p, 2) >= DSA_MINIMUM_BITS); ASSERT(mpz_sizeinbase(pub->p, 2) >= DSA_MIN_P_BITS);
ASSERT(mpz_probab_prime_p(pub->p, 10)); ASSERT(mpz_probab_prime_p(pub->p, 10));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment