summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/readconf.c b/readconf.c
index 36750a843..0d551b9ae 100644
--- a/readconf.c
+++ b/readconf.c
@@ -128,6 +128,7 @@ typedef enum {
128 oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, 128 oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
129 oAddressFamily, oGssAuthentication, oGssDelegateCreds, 129 oAddressFamily, oGssAuthentication, oGssDelegateCreds,
130 oGssTrustDns, oGssKeyEx, oGssClientIdentity, oGssRenewalRekey, 130 oGssTrustDns, oGssKeyEx, oGssClientIdentity, oGssRenewalRekey,
131 oGssServerIdentity,
131 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, 132 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
132 oSendEnv, oControlPath, oControlMaster, oControlPersist, 133 oSendEnv, oControlPath, oControlMaster, oControlPersist,
133 oHashKnownHosts, 134 oHashKnownHosts,
@@ -171,6 +172,7 @@ static struct {
171 { "gssapidelegatecredentials", oGssDelegateCreds }, 172 { "gssapidelegatecredentials", oGssDelegateCreds },
172 { "gssapitrustdns", oGssTrustDns }, 173 { "gssapitrustdns", oGssTrustDns },
173 { "gssapiclientidentity", oGssClientIdentity }, 174 { "gssapiclientidentity", oGssClientIdentity },
175 { "gssapiserveridentity", oGssServerIdentity },
174 { "gssapirenewalforcesrekey", oGssRenewalRekey }, 176 { "gssapirenewalforcesrekey", oGssRenewalRekey },
175#else 177#else
176 { "gssapiauthentication", oUnsupported }, 178 { "gssapiauthentication", oUnsupported },
@@ -499,6 +501,10 @@ parse_flag:
499 charptr = &options->gss_client_identity; 501 charptr = &options->gss_client_identity;
500 goto parse_string; 502 goto parse_string;
501 503
504 case oGssServerIdentity:
505 charptr = &options->gss_server_identity;
506 goto parse_string;
507
502 case oGssRenewalRekey: 508 case oGssRenewalRekey:
503 intptr = &options->gss_renewal_rekey; 509 intptr = &options->gss_renewal_rekey;
504 goto parse_flag; 510 goto parse_flag;
@@ -1088,6 +1094,7 @@ initialize_options(Options * options)
1088 options->gss_trust_dns = -1; 1094 options->gss_trust_dns = -1;
1089 options->gss_renewal_rekey = -1; 1095 options->gss_renewal_rekey = -1;
1090 options->gss_client_identity = NULL; 1096 options->gss_client_identity = NULL;
1097 options->gss_server_identity = NULL;
1091 options->password_authentication = -1; 1098 options->password_authentication = -1;
1092 options->kbd_interactive_authentication = -1; 1099 options->kbd_interactive_authentication = -1;
1093 options->kbd_interactive_devices = NULL; 1100 options->kbd_interactive_devices = NULL;