]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
When manually initialising a 'struct RSAKey' due to loading an SSH1
authorSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2012 21:34:12 +0000 (21:34 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2012 21:34:12 +0000 (21:34 +0000)
public key but not the private half, NULL out all the CRT-optimisation
fields as well as the private exponent pointer. Otherwise segfaults -
security-harmless, but annoying - can happen in freersakey() when we
notice they aren't null and try to free them.

[originally from svn r9705]


No differences found