]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
More consistently defend against division by zero with assertions. We
authorSimon Tatham <anakin@pobox.com>
Sun, 4 Aug 2013 19:33:53 +0000 (19:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 4 Aug 2013 19:33:53 +0000 (19:33 +0000)
commit0b804a819e4c9ee575705f5cb870d6288cb7f972
tree89ad44d9744d86cf3eaa0310ca85a71b37f04890
parent49a12a0893e0de76c89641e508daa57b0bb814e6
More consistently defend against division by zero with assertions. We
now check that all the modular functions (modpow, modinv, modmul,
bigdivmod) have nonzero moduli, and that modinv also has a nonzero
thing to try to invert.

git-svn-id: http://svn.tartarus.org/sgt/putty@9987 cda61777-01e9-0310-a592-d414129be87e
sshbn.c