diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-28 06:10:11 +0100 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-28 12:36:55 +0100 |
commit | 7eba4e62077484aebec010157424287f1963c88f (patch) | |
tree | 5583d5933d0084b49ffd896414ee884e6320ef41 /crypto/bn/bn_prime.c | |
parent | Add CRYPTO_secure_zalloc (diff) | |
download | openssl-7eba4e62077484aebec010157424287f1963c88f.tar.xz openssl-7eba4e62077484aebec010157424287f1963c88f.zip |
Restore NUMPRIMES as a numeric literal
This fixes clang compilation problem with size_t NUMPRIMES and int
loop counters.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn/bn_prime.c')
-rw-r--r-- | crypto/bn/bn_prime.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c index 8d1294fcfc..a5887d96a8 100644 --- a/crypto/bn/bn_prime.c +++ b/crypto/bn/bn_prime.c @@ -121,8 +121,6 @@ */ #include "bn_prime.h" -#define NUMPRIMES OSSL_NELEM(primes) - static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont); |