summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_xor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_xor.c')
-rw-r--r--libtommath/bn_mp_xor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_xor.c b/libtommath/bn_mp_xor.c
index 073985e..71e7ca1 100644
--- a/libtommath/bn_mp_xor.c
+++ b/libtommath/bn_mp_xor.c
@@ -6,7 +6,7 @@
/* two complement xor */
mp_err mp_xor(const mp_int *a, const mp_int *b, mp_int *c)
{
- int used = MAX(a->used, b->used) + 1, i;
+ int used = MP_MAX(a->used, b->used) + 1, i;
mp_err err;
mp_digit ac = 1, bc = 1, cc = 1;
mp_sign csign = (a->sign != b->sign) ? MP_NEG : MP_ZPOS;