libtommath: fix typo in bn_mp_mod.c

Change-Id: Ieec5c01d5bd59b9268f41933389b1b32a4c4d0c6
This commit is contained in:
Jeffrey Altman
2013-10-08 21:32:39 -05:00
parent 37c7098737
commit e8d2100880

View File

@@ -31,7 +31,7 @@ mp_mod (mp_int * a, mp_int * b, mp_int * c)
return res;
}
if (mp_iszero(&t) || t.sign == b.sign) {
if (mp_iszero(&t) || t.sign == b->sign) {
res = MP_OKAY;
mp_exch (&t, c);
} else {