simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Aug 5 20:50:52 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9996
Date:           2013-08-05 20:50:51 +0100 (Mon, 05 Aug 2013)

Log message (8 lines):
The bignum code has two representations of zero, since
bn_restore_invariant (and the many loops that duplicate it) leaves a
single zero word in a bignum representing 0, whereas the constant
'Zero' does not have any data words at all. Cope with this in
bignum_cmp.

(It would be a better plan to decide on one representation and stick
with it, but this is the less disruptive fix for the moment.)

Modified files:
U   putty/sshbn.c

Links:
http://svn.tartarus.org/sgt/?rev=9996&view=rev
http://svn.tartarus.org/sgt/putty/sshbn.c?rev=9996&r1=9995&r2=9996



More information about the tartarus-commits mailing list