Mercurial > dropbear
diff bn_mp_mod_2d.c @ 190:d8254fc979e9 libtommath-orig LTM_0.35
Initial import of libtommath 0.35
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 06 May 2005 08:59:30 +0000 |
parents | d29b64170cf0 |
children |
line wrap: on
line diff
--- a/bn_mp_mod_2d.c Sun Dec 19 11:33:56 2004 +0000 +++ b/bn_mp_mod_2d.c Fri May 06 08:59:30 2005 +0000 @@ -28,7 +28,7 @@ } /* if the modulus is larger than the value than return */ - if (b > (int) (a->used * DIGIT_BIT)) { + if (b >= (int) (a->used * DIGIT_BIT)) { res = mp_copy (a, c); return res; }