crypto/bn/asm/x86_64-gcc.c: remove unnecessary redefinition of BN_ULONG
authorRichard Levitte <levitte@openssl.org>
Fri, 21 Sep 2018 09:11:15 +0000 (11:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 21 Sep 2018 09:37:40 +0000 (11:37 +0200)
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)

crypto/bn/asm/x86_64-gcc.c

index 1729b479d43ece223b14beac8e96358d81a316c3..aa94a13d3b1d312f509533f15f6e1fc8c9bc1cd1 100644 (file)
  *    machine.
  */
 
-# if defined(_WIN64) || !defined(__LP64__)
-#  define BN_ULONG unsigned long long
-# else
-#  define BN_ULONG unsigned long
-# endif
-
 # undef mul
 # undef mul_add