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.
This commit is contained in:
Richard Levitte 2005-05-06 13:34:35 +00:00
parent abee01c6f8
commit 82e8cb403a

View File

@ -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