More consistently defend against division by zero with assertions. We
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Aug 2013 19:33:53 +0000 (19:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Aug 2013 19:33:53 +0000 (19:33 +0000)
commit8bd9144b754ef3b1f7fbb88a701fed37c7c064ad
tree89ad44d9744d86cf3eaa0310ca85a71b37f04890
parent36a70e5cb235ac7c3c1e18b535c3b31695785f8c
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: svn://svn.tartarus.org/sgt/putty@9987 cda61777-01e9-0310-a592-d414129be87e
sshbn.c