Make modinv able to return NULL if its inputs are not coprime, and
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Aug 2013 19:34:07 +0000 (19:34 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Aug 2013 19:34:07 +0000 (19:34 +0000)
commitde81309dd32ec364fcd1fe351beb69859574a3ba
treef3c08694ce44bac1a1b5ada23e9d08f4aa516707
parent919e9a53e43da0082f704b860fa70796c83f3c60
Make modinv able to return NULL if its inputs are not coprime, and
check for that return value everywhere it is used.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9990 cda61777-01e9-0310-a592-d414129be87e
sshbn.c
sshdss.c
sshrsa.c
sshrsag.c