summarylogtreecommitdiffstats
path: root/gssapi-p0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gssapi-p0.patch')
-rw-r--r--gssapi-p0.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/gssapi-p0.patch b/gssapi-p0.patch
index 33236a6d9c7f..14e473d18b8a 100644
--- a/gssapi-p0.patch
+++ b/gssapi-p0.patch
@@ -16,7 +16,7 @@
+if (options.gss_keyex) {
+ /* Add the GSSAPI mechanisms currently supported on this
+ * client to the key exchange algorithm proposal */
-+ orig = myproposal[PROPOSAL_KEX_ALGS];
++ orig = options.kex_algorithms;
+ if (options.gss_trust_dns)
+ gss_host = (char *)get_canonical_hostname(1);
+ else
@@ -25,7 +25,7 @@
+ gss = ssh_gssapi_client_mechanisms(gss_host, options.gss_client_identity);
+ if (gss) {
+ debug("Offering GSSAPI proposal: %s", gss);
-+ xasprintf(&myproposal[PROPOSAL_KEX_ALGS], "%s,%s", gss, orig);
++ xasprintf(&options.kex_algorithms, "%s,%s", gss, orig);
+ }
+}
+#endif