From 82e8cb403a09e82955397e15d5df1c16d0c8491f Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 6 May 2005 13:34:35 +0000 Subject: [PATCH 1/1] Since BN_LLONG will only be defined for Alpha/VMS and not VAX/VMS, there's no need to undefine it here. Then, let's get a bit paranoid and not define BN_ULLONG on THIRTY_TWO_BIT machines when BN_LLONG isn't defined. --- crypto/bn/bn.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index cd03dae77e..eb323757b2 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -94,10 +94,6 @@ extern "C" { /* #define BN_DEBUG */ /* #define BN_DEBUG_RAND */ -#ifdef OPENSSL_SYS_VMS -#undef BN_LLONG /* experimental, so far... */ -#endif - #define BN_MUL_COMBA #define BN_SQR_COMBA #define BN_RECURSION @@ -169,10 +165,12 @@ extern "C" { #endif #ifdef THIRTY_TWO_BIT -#if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__) -#define BN_ULLONG unsigned _int64 -#else -#define BN_ULLONG unsigned long long +#ifdef BN_LLONG +# if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__) +# define BN_ULLONG unsigned _int64 +# else +# define BN_ULLONG unsigned long long +# endif #endif #define BN_ULONG unsigned long #define BN_LONG long -- 2.34.1