PSFTP was ignoring `-1' and `-2' and always using SSH-2 with fallback to
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 25 Jul 2004 16:10:48 +0000 (16:10 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 25 Jul 2004 16:10:48 +0000 (16:10 +0000)
commit4123fa9acad10cd0bab8aded6e336b280ea2e95b
treed49362cf68736f9077ee111017b9e12228668ad6
parent18e62ad8969d5b38cfdc28c943f05c59ea7fba5d
PSFTP was ignoring `-1' and `-2' and always using SSH-2 with fallback to
SSH-1. It also ignored any settings forbidding fallback to SSH-1.

Ignoring `-1' and `-2' is hardly the end of the world, as it'd be difficult
to think of a realistic situation where fallback didn't do the right thing
and PSFTP was still useful. However, ignoring a user's `SSH-2 only' setting
was a bit rude.

git-svn-id: svn://svn.tartarus.org/sgt/putty@4357 cda61777-01e9-0310-a592-d414129be87e
psftp.c