modified: auth-sia.c
modified: openbsd-compat/port-aix.c
modified: openbsd-compat/port-uw.c
propogate changes to auth-passwd.c in commit
7c85685760
to other providers
of sys_auth_passwd()
This commit is contained in:
parent
d7a7a39168
commit
bba02a5094
|
@ -50,11 +50,12 @@ extern int saved_argc;
|
|||
extern char **saved_argv;
|
||||
|
||||
int
|
||||
sys_auth_passwd(Authctxt *authctxt, const char *pass)
|
||||
sys_auth_passwd(struct ssh *ssh, const char *pass)
|
||||
{
|
||||
int ret;
|
||||
SIAENTITY *ent = NULL;
|
||||
const char *host;
|
||||
Authctxt *authctxt = ssh->authctxt;
|
||||
|
||||
host = get_canonical_hostname(options.use_dns);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue