Correct a typo.
This commit is contained in:
parent
6ac4e8bd6e
commit
91b3f0e691
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ int BN_is_prime_fasttest(const BIGNUM *a, int checks,
|
|||
BN_MONT_CTX *mont = NULL;
|
||||
const BIGNUM *A = NULL;
|
||||
|
||||
if (BN_cmp(a, BN_value_one) <= 0)
|
||||
if (BN_cmp(a, BN_value_one()) <= 0)
|
||||
return 0;
|
||||
|
||||
if (checks == BN_prime_checks)
|
||||
|
|
Loading…
Reference in a new issue