summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-23 09:16:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-23 09:16:37 (GMT)
commit2df6f12a996d019b78a31c15f5875e2609fb28b2 (patch)
tree55a9f72791801290593f4cec9b4bb2359aab54dc /libtommath
parent481c3a3fd52f111e7c645ea5b959fc128fe1d377 (diff)
downloadtcl-2df6f12a996d019b78a31c15f5875e2609fb28b2.zip
tcl-2df6f12a996d019b78a31c15f5875e2609fb28b2.tar.gz
tcl-2df6f12a996d019b78a31c15f5875e2609fb28b2.tar.bz2
Extend libtommath stub table, so extension writers can move away from deprecated libtommath functions.
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/tommath_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h
index fe78d27..654d294 100644
--- a/libtommath/tommath_private.h
+++ b/libtommath/tommath_private.h
@@ -304,4 +304,7 @@ MP_DEPRECATED(s_mp_reverse) void bn_reverse(unsigned char *s, int len);
return (a->sign == MP_NEG) ? (type)-res : (type)res; \
}
+#undef mp_isodd
+#define mp_isodd TclBN_mp_isodd
+
#endif