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;
|
extern char **saved_argv;
|
||||||
|
|
||||||
int
|
int
|
||||||
sys_auth_passwd(Authctxt *authctxt, const char *pass)
|
sys_auth_passwd(struct ssh *ssh, const char *pass)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
SIAENTITY *ent = NULL;
|
SIAENTITY *ent = NULL;
|
||||||
const char *host;
|
const char *host;
|
||||||
|
Authctxt *authctxt = ssh->authctxt;
|
||||||
|
|
||||||
host = get_canonical_hostname(options.use_dns);
|
host = get_canonical_hostname(options.use_dns);
|
||||||
|
|
||||||
|
|
|
@ -171,8 +171,9 @@ aix_valid_authentications(const char *user)
|
||||||
* returns 0.
|
* returns 0.
|
||||||
*/
|
*/
|
||||||
int
|
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;
|
char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name;
|
||||||
int authsuccess = 0, expired, reenter, result;
|
int authsuccess = 0, expired, reenter, result;
|
||||||
|
|
||||||
|
|
|
@ -51,8 +51,9 @@
|
||||||
int nischeck(char *);
|
int nischeck(char *);
|
||||||
|
|
||||||
int
|
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;
|
struct passwd *pw = authctxt->pw;
|
||||||
char *salt;
|
char *salt;
|
||||||
int result;
|
int result;
|
||||||
|
|
Loading…
Reference in New Issue