summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/bn/bn.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-04-17 19:59:12 +0000
committermiod <miod@openbsd.org>2014-04-17 19:59:12 +0000
commit9e593c41da051b34fcc4fd28c28b01f17195edab (patch)
tree56c30e810083ca0746249a0e5a7340cb5b212666 /lib/libcrypto/bn/bn.h
parentBob O.D.'ed on the o_dir code so high he forgot to rm the `test' after (diff)
downloadwireguard-openbsd-9e593c41da051b34fcc4fd28c28b01f17195edab.tar.xz
wireguard-openbsd-9e593c41da051b34fcc4fd28c28b01f17195edab.zip
Use of OPENSSL_SYS_xxx defines in public header files considered harmful.
Diffstat (limited to 'lib/libcrypto/bn/bn.h')
-rw-r--r--lib/libcrypto/bn/bn.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libcrypto/bn/bn.h b/lib/libcrypto/bn/bn.h
index 2e3fab98dbc..4959232179b 100644
--- a/lib/libcrypto/bn/bn.h
+++ b/lib/libcrypto/bn/bn.h
@@ -165,12 +165,7 @@ extern "C" {
* For machines with only one compiler (or shared libraries), this should
* be on. Again this in only really a problem on machines
* using "long long's", are 32bit, and are not using my assembler code. */
-#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || \
- defined(OPENSSL_SYS_WIN32) || defined(linux)
-# ifndef BN_DIV2W
-# define BN_DIV2W
-# endif
-#endif
+/* #define BN_DIV2W */
/* assuming long is 64bit - this is the DEC Alpha
* unsigned long long is only 64 bits :-(, don't define