simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri May 18 13:57:13 BST 2018
TL;DR:
6893f00 Fix constant rekeying.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-05-18 13:57:13
commit 6893f00e42619311e5f12faf4eb12b35b271c2f2
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=6893f00e42619311e5f12faf4eb12b35b271c2f2;hp=18ab91a199b585a7f53612fd068b93e607e2b2f0
Author: Simon Tatham <anakin at pobox.com>
Date: Fri May 18 13:46:36 2018 +0100
Fix constant rekeying.
Another piece of fallout from this morning's patch series, which I
didn't notice until I left a session running for more than an hour:
once do_ssh2_transport is told to begin a rekey, it has no way of
knowing _not_ to immediately do another one, and another, and so on.
Added a value RK_NONE to the rekey class enumeration, and set
rekey_class to that immediately after a key exchange completes. Then a
new one won't start until some code actually sets rekey_class to a
nonzero value again.
ssh.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
More information about the tartarus-commits
mailing list