]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
sshrsa.c now obeys the RFC793 Robustness Principle when it comes to
authorSimon Tatham <anakin@pobox.com>
Tue, 7 Oct 2008 17:48:59 +0000 (17:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 7 Oct 2008 17:48:59 +0000 (17:48 +0000)
commit63d7aafb4632f7551e23243e89ef05a721316bfe
treed43f684ae6d94a73ef4adb9ee28e11dca2c1e451
parentd18b0de66fded49d66d3a4b4a25aeff254a5e210
sshrsa.c now obeys the RFC793 Robustness Principle when it comes to
the ordering of the primes in a fully specified RSA private key:
when the key format typically has p > q, it will always output p > q
but be willing to tolerate p < q on input. (Inspired by seeing an
OpenSSH-format key file in the wild which had p < q, which I've
never seen before; I suspect a third-party application incautiously
generating the format.)

git-svn-id: http://svn.tartarus.org/sgt/putty@8201 cda61777-01e9-0310-a592-d414129be87e
sshrsa.c