More macro hygiene improvements.
I missed these in the last round. Change-Id: I9b47216eef87c662728e454670e9e516de71ca21 Reviewed-on: https://boringssl-review.googlesource.com/11740 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
193c2fff53
commit
35c8afd314
@ -160,7 +160,7 @@ BIGNUM *bn_expand(BIGNUM *bn, size_t bits);
|
|||||||
#define BN_TBIT (0x8000000000000000UL)
|
#define BN_TBIT (0x8000000000000000UL)
|
||||||
#define BN_DEC_CONV (10000000000000000000UL)
|
#define BN_DEC_CONV (10000000000000000000UL)
|
||||||
#define BN_DEC_NUM 19
|
#define BN_DEC_NUM 19
|
||||||
#define TOBN(hi, lo) ((BN_ULONG)hi << 32 | lo)
|
#define TOBN(hi, lo) ((BN_ULONG)(hi) << 32 | (lo))
|
||||||
|
|
||||||
#elif defined(OPENSSL_32_BIT)
|
#elif defined(OPENSSL_32_BIT)
|
||||||
|
|
||||||
@ -181,7 +181,7 @@ BIGNUM *bn_expand(BIGNUM *bn, size_t bits);
|
|||||||
#define BN_TBIT (0x80000000UL)
|
#define BN_TBIT (0x80000000UL)
|
||||||
#define BN_DEC_CONV (1000000000UL)
|
#define BN_DEC_CONV (1000000000UL)
|
||||||
#define BN_DEC_NUM 9
|
#define BN_DEC_NUM 9
|
||||||
#define TOBN(hi, lo) lo, hi
|
#define TOBN(hi, lo) (lo), (hi)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
|
#error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
|
||||||
|
Loading…
Reference in New Issue
Block a user