diff options
author | Christoph Gysin | 2017-09-24 17:18:02 +0300 |
---|---|---|
committer | Christoph Gysin | 2017-09-28 00:05:41 +0300 |
commit | 708be6678084efd20ddf9e9ce4c55cfc29effcd6 (patch) | |
tree | f5ac9a7a5ef89346f80f3f4a648e969fbf4ecd7c /gssapi-p0.patch | |
parent | e21f22ff5b23d4f99cf2878fbb07b001a1ac4dc9 (diff) | |
download | aur-708be6678084efd20ddf9e9ce4c55cfc29effcd6.tar.gz |
update to 7.5p1
Diffstat (limited to 'gssapi-p0.patch')
-rw-r--r-- | gssapi-p0.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gssapi-p0.patch b/gssapi-p0.patch deleted file mode 100644 index 14e473d18b8a..000000000000 --- a/gssapi-p0.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/sshconnect2.c.orig 2015-10-26 09:44:28.602338321 +0100 -+++ b/sshconnect2.c 2015-10-26 09:43:53.394738805 +0100 -@@ -160,9 +160,33 @@ - struct kex *kex; - int r; - -+#ifdef GSSAPI -+ char *orig = NULL, *gss = NULL; -+ char *gss_host = NULL; -+#endif -+ - xxx_host = host; - xxx_hostaddr = hostaddr; - -+#ifdef GSSAPI -+if (options.gss_keyex) { -+ /* Add the GSSAPI mechanisms currently supported on this -+ * client to the key exchange algorithm proposal */ -+ orig = options.kex_algorithms; -+ if (options.gss_trust_dns) -+ gss_host = (char *)get_canonical_hostname(1); -+ else -+ gss_host = host; -+ -+ gss = ssh_gssapi_client_mechanisms(gss_host, options.gss_client_identity); -+ if (gss) { -+ debug("Offering GSSAPI proposal: %s", gss); -+ xasprintf(&options.kex_algorithms, "%s,%s", gss, orig); -+ } -+} -+#endif -+ -+ - myproposal[PROPOSAL_KEX_ALGS] = compat_kex_proposal( - options.kex_algorithms); - myproposal[PROPOSAL_ENC_ALGS_CTOS] = |