diff options
author | Tim Rice <tim@multitalents.net> | 2018-03-25 09:17:33 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2018-03-25 09:17:33 -0700 |
commit | bba02a5094b3db228ceac41cb4bfca165d0735f3 (patch) | |
tree | 4859ff59dd32836f13700e69195dc729a8ef2b87 /openbsd-compat | |
parent | d7a7a39168bdfe273587bf85d779d60569100a3f (diff) |
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()
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/port-aix.c | 3 | ||||
-rw-r--r-- | openbsd-compat/port-uw.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index c2970c4d..768d44c3 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 db24dbb9..ba675acd 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; |