Failure to set multipliers[NPRIMES] was rendering the input-modulus
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Jun 2003 14:11:28 +0000 (14:11 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Jun 2003 14:11:28 +0000 (14:11 +0000)
commitf26b3d771ea81495859eb4d899af447fc9b6b3e5
tree09832219b73b1e2952cc67ea8c5da9f3acc722d4
parent736cc6d131e571cd9a0d3f2b5b5dc9ab493d207a
Failure to set multipliers[NPRIMES] was rendering the input-modulus
feature (make sure your prime is not congruent to Foo mod Bar)
largely ineffective. As a result, RSA keys were being generated
every so often with at least one prime congruent to 1 mod 37,
causing modinv(37, phi(n)) to divide by zero, and rightly so. I
believe this fixes `puttygen-zero-div'.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3316 cda61777-01e9-0310-a592-d414129be87e
sshprime.c