From: simon Date: Sun, 4 Aug 2013 19:33:53 +0000 (+0000) Subject: More consistently defend against division by zero with assertions. We X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/8bd9144b754ef3b1f7fbb88a701fed37c7c064ad?hp=8bd9144b754ef3b1f7fbb88a701fed37c7c064ad 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 ---