From bba02a5094b3db228ceac41cb4bfca165d0735f3 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sun, 25 Mar 2018 09:17:33 -0700 Subject: modified: auth-sia.c modified: openbsd-compat/port-aix.c modified: openbsd-compat/port-uw.c propogate changes to auth-passwd.c in commit 7c856857607112a3dfe6414696bf4c7ab7fb0cb3 to other providers of sys_auth_passwd() --- openbsd-compat/port-aix.c | 3 ++- openbsd-compat/port-uw.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'openbsd-compat') diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index c2970c4db..768d44c33 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c @@ -171,8 +171,9 @@ aix_valid_authentications(const char *user) * returns 0. */ int -sys_auth_passwd(Authctxt *ctxt, const char *password) +sys_auth_passwd(struct ssh *ssh, const char *password) { + Authctxt *ctxt = ssh->authctxt; char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name; int authsuccess = 0, expired, reenter, result; diff --git a/openbsd-compat/port-uw.c b/openbsd-compat/port-uw.c index db24dbb94..ba675acd6 100644 --- a/openbsd-compat/port-uw.c +++ b/openbsd-compat/port-uw.c @@ -51,8 +51,9 @@ int nischeck(char *); int -sys_auth_passwd(Authctxt *authctxt, const char *password) +sys_auth_passwd(struct ssh *ssh, const char *password) { + Authctxt *authctxt = ssh->authctxt; struct passwd *pw = authctxt->pw; char *salt; int result; -- cgit v1.2.3