simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Tue Sep 14 14:09:31 BST 2021
TL;DR:
30372588 Localise user_input to SSH connection layers.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-09-14 14:09:31
commit 3037258808c21db72f7d94c934bbc6ee70bfa821
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=3037258808c21db72f7d94c934bbc6ee70bfa821;hp=d1374c5890c945dc50cbeedca502b8d4100845d6
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Sep 14 14:00:05 2021 +0100
Localise user_input to SSH connection layers.
Now that the SSH backend's user_input bufchain is no longer needed for
handling userpass input, it doesn't have to be awkwardly shared
between all the packet protocol layers any more. So we can turn the
want_user_input and got_user_input methods of PacketProtocolLayer into
methods of ConnectionLayer, and then only the two connection layers
have to bother implementing them, or store a pointer to the bufchain
they read from.
ssh.h | 14 ++++++++++++--
ssh/common.c | 1 -
ssh/connection1.c | 26 ++++++++++++++------------
ssh/connection1.h | 1 +
ssh/connection2.c | 27 +++++++++++++++------------
ssh/connection2.h | 1 +
ssh/login1-server.c | 5 -----
ssh/login1.c | 20 --------------------
ssh/mainchan.c | 2 +-
ssh/ppl.h | 15 +++------------
ssh/server.c | 10 ++++++----
ssh/ssh.c | 14 +++++++-------
ssh/transport2.c | 22 ----------------------
ssh/userauth2-client.c | 20 --------------------
14 files changed, 60 insertions(+), 118 deletions(-)
More information about the tartarus-commits
mailing list