From: Ben Laurie Date: Tue, 28 Jun 2005 12:32:48 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: OpenSSL_0_9_8~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c0e29e5b01d250f813fa0e985ad8a541fce1828e;p=oweals%2Fopenssl.git Fix warnings. --- diff --git a/crypto/bn/bn_nist.c b/crypto/bn/bn_nist.c index faf0e347e2..f8e306bb82 100644 --- a/crypto/bn/bn_nist.c +++ b/crypto/bn/bn_nist.c @@ -172,6 +172,7 @@ const BIGNUM *BN_get0_nist_prime_521(void) } /* some misc internal functions */ +#if BN_BITS2 != 64 static BN_ULONG _256_data[BN_NIST_256_TOP*6]; static int _is_set_256_data = 0; static void _init_256_data(void); @@ -179,6 +180,7 @@ static void _init_256_data(void); static BN_ULONG _384_data[BN_NIST_384_TOP*8]; static int _is_set_384_data = 0; static void _init_384_data(void); +#endif #define BN_NIST_ADD_ONE(a) while (!(++(*(a)))) ++(a); @@ -405,6 +407,7 @@ int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, #endif } +#if BN_BITS2 != 64 static void _init_256_data(void) { int i; @@ -422,6 +425,7 @@ static void _init_256_data(void) } _is_set_256_data = 1; } +#endif #define nist_set_256(to, from, a1, a2, a3, a4, a5, a6, a7, a8) \ { \ @@ -555,6 +559,7 @@ int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, #endif } +#if BN_BITS2 != 64 static void _init_384_data(void) { int i; @@ -572,6 +577,7 @@ static void _init_384_data(void) } _is_set_384_data = 1; } +#endif #define nist_set_384(to,from,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12) \ { \