summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-05-06 13:34:35 +0000
committerRichard Levitte <levitte@openssl.org>2005-05-06 13:34:35 +0000
commit82e8cb403a09e82955397e15d5df1c16d0c8491f (patch)
tree821b5a2d67c76e3d8429ae90db3b754abcce5d38 /crypto/bn/bn.h
parentabee01c6f8a656e244688f71e94c6864bbe5e338 (diff)
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.
Diffstat (limited to 'crypto/bn/bn.h')
-rw-r--r--crypto/bn/bn.h14
1 files 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