sshrsa.c now obeys the RFC793 Robustness Principle when it comes to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 7 Oct 2008 17:48:59 +0000 (17:48 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 7 Oct 2008 17:48:59 +0000 (17:48 +0000)
commitf5bcbcc2b1f5c6aac6379615bd9a6bc942cce98a
treed43f684ae6d94a73ef4adb9ee28e11dca2c1e451
parentf02bae97623ebebab13031bf2dbae3381f08e195
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: svn://svn.tartarus.org/sgt/putty@8201 cda61777-01e9-0310-a592-d414129be87e
sshrsa.c