aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-11-01 13:47:49 -0400
committerAdam Langley <agl@google.com>2014-11-04 00:27:40 +0000
commit029a779204a3c2e6c4af71f1d8c8030c43f29ef7 (patch)
tree4a6f8dc9079c69fc0065e7064bc1f195ee755e94
parent2a0ee112c4a9cef8209a416602858444cf0eba77 (diff)
downloadboringssl-029a779204a3c2e6c4af71f1d8c8030c43f29ef7.zip
boringssl-029a779204a3c2e6c4af71f1d8c8030c43f29ef7.tar.gz
boringssl-029a779204a3c2e6c4af71f1d8c8030c43f29ef7.tar.bz2
Remove BN_LONG macro.
It's never used, upstream or downstream. The 64-bit value is wrong anyway for LLP64 platforms. Change-Id: I56afc51f4c17ed3f1c30959b574034f181b5b0c7 Reviewed-on: https://boringssl-review.googlesource.com/2123 Reviewed-by: Adam Langley <agl@google.com>
-rw-r--r--crypto/bn/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/bn/internal.h b/crypto/bn/internal.h
index 88ab547..ab09c6e 100644
--- a/crypto/bn/internal.h
+++ b/crypto/bn/internal.h
@@ -138,7 +138,6 @@ BIGNUM *bn_expand(BIGNUM *bn, unsigned bits);
#if defined(OPENSSL_64_BIT)
#define BN_ULLONG unsigned long long
-#define BN_LONG long
#define BN_BITS 128
#define BN_BYTES 8
#define BN_BITS4 32
@@ -158,7 +157,6 @@ BIGNUM *bn_expand(BIGNUM *bn, unsigned bits);
#define BN_ULLONG unsigned long long
#define BN_MASK (0xffffffffffffffffLL)
-#define BN_LONG int32_t
#define BN_BITS 64
#define BN_BYTES 4
#define BN_BITS4 16