summaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-09-21 11:11:15 +0200
committerRichard Levitte <richard@levitte.org>2018-09-21 11:35:14 +0200
commit4ccd6c5479b8e4ed0f8557846d383bed41517e2e (patch)
tree014f66386cccda3a3992ddca41008c439190ad0d /crypto/bn/asm
parentbaa5cdad88590188d5547347e7fc544af40ec8ce (diff)
crypto/bn/asm/x86_64-gcc.c: remove unnecessary redefinition of BN_ULONG
This module includes bn.h via other headers, so it picks up the definition from there and doesn't need to define them locally (any more?). Worst case scenario, the redefinition may be different and cause all sorts of compile errors. Fixes #7227 Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/7287) (cherry picked from commit dda5396aaec315bdbcb080e42fb5cd0191f2ad72)
Diffstat (limited to 'crypto/bn/asm')
-rw-r--r--crypto/bn/asm/x86_64-gcc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/bn/asm/x86_64-gcc.c b/crypto/bn/asm/x86_64-gcc.c
index d38f337164..e6f1698314 100644
--- a/crypto/bn/asm/x86_64-gcc.c
+++ b/crypto/bn/asm/x86_64-gcc.c
@@ -64,12 +64,6 @@
* machine.
*/
-# if defined(_WIN64) || !defined(__LP64__)
-# define BN_ULONG unsigned long long
-# else
-# define BN_ULONG unsigned long
-# endif
-
# undef mul
# undef mul_add