git: 1a0ffb2b06bc - stable/13 - openssh: remove login class restrictions leftovers

Ed Maste emaste at FreeBSD.org
Fri Sep 17 00:35:52 UTC 2021


The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=1a0ffb2b06bc0a8b26c993746cdf82bb643cc7a7

commit 1a0ffb2b06bc0a8b26c993746cdf82bb643cc7a7
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-09-02 21:13:29 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-09-17 00:34:13 +0000

    openssh: remove login class restrictions leftovers
    
    MFC after:      2 weeks
    Fixes:          27ceebbc2402 ("openssh: simplify login class...")
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit ba91e31f478aaade96bbdbf01560e8b7cbe41b56)
---
 crypto/openssh/auth2.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/crypto/openssh/auth2.c b/crypto/openssh/auth2.c
index af6fdae97193..b03822e5f150 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");


More information about the dev-commits-src-branches mailing list