Skip to content

Commit

Permalink
modified: auth-sia.c
Browse files Browse the repository at this point in the history
	modified:   openbsd-compat/port-aix.c
	modified:   openbsd-compat/port-uw.c

	propogate changes to auth-passwd.c in commit
	7c85685 to other providers
	of sys_auth_passwd()
  • Loading branch information
Tim Rice committed Mar 25, 2018
1 parent d7a7a39 commit bba02a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion auth-sia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
3 changes: 2 additions & 1 deletion openbsd-compat/port-aix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 2 additions & 1 deletion openbsd-compat/port-uw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bba02a5

Please sign in to comment.