summarylogtreecommitdiffstats
path: root/gssapi-p0.patch
diff options
context:
space:
mode:
authorChristoph Gysin2017-09-24 09:55:07 +0300
committerChristoph Gysin2017-09-26 21:18:22 +0300
commit18ed63550f3c18cf93d7380771a9db8b39e55fba (patch)
tree3b1b7538e89aef28381c08ec05a29044d4029488 /gssapi-p0.patch
parentf4e5e06c0dea73779c1bd5ab0a6b5a4547804dcd (diff)
downloadaur-18ed63550f3c18cf93d7380771a9db8b39e55fba.tar.gz
fix KeyExchange
See: https://unix.stackexchange.com/questions/316930/archlinux-gssapi-kerberos
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