git: ba91e31f478a - main - openssh: remove login class restrictions leftovers
Ed Maste
emaste at FreeBSD.org
Fri Sep 3 20:08:32 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=ba91e31f478aaade96bbdbf01560e8b7cbe41b56
commit ba91e31f478aaade96bbdbf01560e8b7cbe41b56
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-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");
More information about the dev-commits-src-main
mailing list