Correct a typo.
authorGeoff Thorpe <geoff@openssl.org>
Mon, 3 Sep 2001 17:24:27 +0000 (17:24 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 3 Sep 2001 17:24:27 +0000 (17:24 +0000)
crypto/bn/bn_prime.c

index 5bfc0b682be598c32e52ab65d7ee98dae6cef60b..2d40fe7c9d75316d643c9a5076934fa9d5839d14 100644 (file)
@@ -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)