mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
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). [originally from svn r9181]
This commit is contained in:
14
unix/uxgss.c
14
unix/uxgss.c
@ -15,11 +15,11 @@ const char *const gsslibnames[4] = {
|
||||
"libgss (Sun)",
|
||||
"User-specified GSSAPI library",
|
||||
};
|
||||
const struct keyval gsslibkeywords[] = {
|
||||
{ "libgssapi", 0 },
|
||||
{ "libgssapi_krb5", 1 },
|
||||
{ "libgss", 2 },
|
||||
{ "custom", 3 },
|
||||
const struct keyvalwhere gsslibkeywords[] = {
|
||||
{ "libgssapi", 0, -1, -1 },
|
||||
{ "libgssapi_krb5", 1, -1, -1 },
|
||||
{ "libgss", 2, -1, -1 },
|
||||
{ "custom", 3, -1, -1 },
|
||||
};
|
||||
|
||||
/*
|
||||
@ -116,8 +116,8 @@ const int ngsslibs = 1;
|
||||
const char *const gsslibnames[1] = {
|
||||
"static",
|
||||
};
|
||||
const struct keyval gsslibkeywords[] = {
|
||||
{ "static", 0 },
|
||||
const struct keyvalwhere gsslibkeywords[] = {
|
||||
{ "static", 0, -1, -1 },
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user