diff options
author | miod <> | 2014-04-17 19:59:14 +0000 |
---|---|---|
committer | miod <> | 2014-04-17 19:59:14 +0000 |
commit | a7d459976bae37484f615794c37c7ac9cbc2c20f (patch) | |
tree | 421183df2bbd8514ddc3ba72c034d33d5ccbccdd /src/lib/libcrypto/bn/bn.h | |
parent | 289265bc7586e7803606569a283e2e62fa48030c (diff) | |
download | openbsd-a7d459976bae37484f615794c37c7ac9cbc2c20f.tar.gz openbsd-a7d459976bae37484f615794c37c7ac9cbc2c20f.tar.bz2 openbsd-a7d459976bae37484f615794c37c7ac9cbc2c20f.zip |
Use of OPENSSL_SYS_xxx defines in public header files considered harmful.
Diffstat (limited to 'src/lib/libcrypto/bn/bn.h')
-rw-r--r-- | src/lib/libcrypto/bn/bn.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index 2e3fab98db..4959232179 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h | |||
@@ -165,12 +165,7 @@ extern "C" { | |||
165 | * For machines with only one compiler (or shared libraries), this should | 165 | * For machines with only one compiler (or shared libraries), this should |
166 | * be on. Again this in only really a problem on machines | 166 | * be on. Again this in only really a problem on machines |
167 | * using "long long's", are 32bit, and are not using my assembler code. */ | 167 | * using "long long's", are 32bit, and are not using my assembler code. */ |
168 | #if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || \ | 168 | /* #define BN_DIV2W */ |
169 | defined(OPENSSL_SYS_WIN32) || defined(linux) | ||
170 | # ifndef BN_DIV2W | ||
171 | # define BN_DIV2W | ||
172 | # endif | ||
173 | #endif | ||
174 | 169 | ||
175 | /* assuming long is 64bit - this is the DEC Alpha | 170 | /* assuming long is 64bit - this is the DEC Alpha |
176 | * unsigned long long is only 64 bits :-(, don't define | 171 | * unsigned long long is only 64 bits :-(, don't define |