From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCFF91381F1 for ; Sat, 6 Aug 2016 08:59:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1917E0AEE; Sat, 6 Aug 2016 08:59:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89875E0AEE for ; Sat, 6 Aug 2016 08:59:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9BD5533FE7D for ; Sat, 6 Aug 2016 08:59:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFA9D7A for ; Sat, 6 Aug 2016 08:59:25 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1470473911.e6076963fcabaed3aff9b469a20f54d3063ce575.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openssh/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/openssh/files/openssh-7.3_p1-GSSAPI-dns.patch X-VCS-Directories: net-misc/openssh/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: e6076963fcabaed3aff9b469a20f54d3063ce575 X-VCS-Branch: master Date: Sat, 6 Aug 2016 08:59:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f837f038-9701-4349-8b96-234ec6d46f02 X-Archives-Hash: 8c494987c9dd018de3e48796570e70c1 commit: e6076963fcabaed3aff9b469a20f54d3063ce575 Author: Mike Frysinger gentoo org> AuthorDate: Sat Aug 6 08:58:15 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Aug 6 08:58:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6076963 net-misc/openssh: fix implicit prototype warning w/USE=kerberos #590382 net-misc/openssh/files/openssh-7.3_p1-GSSAPI-dns.patch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net-misc/openssh/files/openssh-7.3_p1-GSSAPI-dns.patch b/net-misc/openssh/files/openssh-7.3_p1-GSSAPI-dns.patch index d6798e2..806b36d 100644 --- a/net-misc/openssh/files/openssh-7.3_p1-GSSAPI-dns.patch +++ b/net-misc/openssh/files/openssh-7.3_p1-GSSAPI-dns.patch @@ -82,15 +82,16 @@ https://bugzilla.mindrot.org/show_bug.cgi?id=1008 .Xr ssh 1 --- a/sshconnect2.c +++ b/sshconnect2.c -@@ -656,6 +656,12 @@ +@@ -656,6 +656,13 @@ static u_int mech = 0; OM_uint32 min; int ok = 0; + const char *gss_host; + -+ if (options.gss_trust_dns) ++ if (options.gss_trust_dns) { ++ extern const char *auth_get_canonical_hostname(struct ssh *ssh, int use_dns); + gss_host = auth_get_canonical_hostname(active_state, 1); -+ else ++ } else + gss_host = authctxt->host; /* Try one GSSAPI method at a time, rather than sending them all at