From owner-dev-commits-src-main@freebsd.org Fri Sep 3 20:08:32 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E018267C7E8; Fri, 3 Sep 2021 20:08:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H1TPr60Bcz3L7n; Fri, 3 Sep 2021 20:08:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AE9AC236E; Fri, 3 Sep 2021 20:08:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 183K8WP4031374; Fri, 3 Sep 2021 20:08:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 183K8W3f031373; Fri, 3 Sep 2021 20:08:32 GMT (envelope-from git) Date: Fri, 3 Sep 2021 20:08:32 GMT Message-Id: <202109032008.183K8W3f031373@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: ba91e31f478a - main - openssh: remove login class restrictions leftovers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba91e31f478aaade96bbdbf01560e8b7cbe41b56 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2021 20:08:32 -0000 The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ba91e31f478aaade96bbdbf01560e8b7cbe41b56 commit ba91e31f478aaade96bbdbf01560e8b7cbe41b56 Author: Ed Maste AuthorDate: 2021-09-02 21:13:29 +0000 Commit: Ed Maste CommitDate: 2021-09-03 20:07:47 +0000 openssh: remove login class restrictions leftovers MFC after: 2 weeks Fixes: 27ceebbc2402 ("openssh: simplify login class...") Sponsored by: The FreeBSD Foundation --- crypto/openssh/auth2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crypto/openssh/auth2.c b/crypto/openssh/auth2.c index 338eb0454b93..d6eb067245b7 100644 --- a/crypto/openssh/auth2.c +++ b/crypto/openssh/auth2.c @@ -260,10 +260,6 @@ input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) char *user, *service, *method, *style = NULL; int authenticated = 0; double tstart = monotime_double(); -#ifdef HAVE_LOGIN_CAP - login_cap_t *lc; - const char *from_host, *from_ip; -#endif if (authctxt == NULL) fatal("input_userauth_request: no authctxt");