Rewrite gprefs() in settings.c so that its input mapping includes
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 25 Jun 2011 17:37:31 +0000 (17:37 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 25 Jun 2011 17:37:31 +0000 (17:37 +0000)
commit4ceef22460eca9798463c80ff09c74942d0f25b6
treec9fa02f89e2d639a4d2c36577dc1c204fa4e3e57
parentac3337f659b9648b4ffb88b3da3b68ad8fda3717
Rewrite gprefs() in settings.c so that its input mapping includes
information about where to put items that aren't mentioned in the
saved configuration. So far the only nontrivial use I've made of this
facility is to default to placing KEX_RSA just above KEX_WARN in the
absence of any other information, which should fix
'ssh2-rsa-kex-pref'.

While I'm here I've rewritten wprefs() on general principles to remove
the needless length limit, since I was touching it anyway. The length
limit is still in gprefs (but I've lengthened it just in case).

git-svn-id: svn://svn.tartarus.org/sgt/putty@9181 cda61777-01e9-0310-a592-d414129be87e
nogss.c
putty.h
settings.c
unix/uxgss.c
windows/wingss.c