mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 05:52:48 -05:00
Add a missing bn_restore_invariant in RSA blinding code.
We were inventing a random number by starting with a long zero bignum and then setting bits at random, which left an opportunity for the result to be a non-normalised representation (with a leading zero word) and hence fail an assertion in bignum_cmp. [originally from svn r10147]
This commit is contained in:
Reference in New Issue
Block a user