Remove obsolete TODO.

This has since been done.

Change-Id: I498f845fa4ba3d1c04a5892831be4b07f31536d4
Reviewed-on: https://boringssl-review.googlesource.com/16124
Commit-Queue: David Benjamin <davidben@google.com>
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2017-05-10 11:10:44 -04:00 committed by CQ bot account: commit-bot@chromium.org
parent 873ebc9783
commit f99d2c6141

View File

@ -878,8 +878,7 @@ static int generate_prime(BIGNUM *out, int bits, const BIGNUM *e,
goto err; goto err;
} }
if (BN_is_one(tmp)) { if (BN_is_one(tmp)) {
/* Test |out| for primality (steps 4.5.1 and 5.6.1). /* Test |out| for primality (steps 4.5.1 and 5.6.1). */
* TODO(davidben): Align the primality test with FIPS 186-4. */
int is_probable_prime; int is_probable_prime;
if (!BN_primality_test(&is_probable_prime, out, BN_prime_checks, ctx, 1, if (!BN_primality_test(&is_probable_prime, out, BN_prime_checks, ctx, 1,
cb)) { cb)) {