]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit5bcb8d6aac70ea3f8761e384de7b49cf4711b2df
tree89ad44d9744d86cf3eaa0310ca85a71b37f04890
parent76dc7c49a2e9efad5358f690da65b1d5b2297e66
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.

[originally from svn r9987]
sshbn.c