diff options
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 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) | |||
171 | * returns 0. | 171 | * returns 0. |
172 | */ | 172 | */ |
173 | int | 173 | int |
174 | sys_auth_passwd(Authctxt *ctxt, const char *password) | 174 | sys_auth_passwd(struct ssh *ssh, const char *password) |
175 | { | 175 | { |
176 | Authctxt *ctxt = ssh->authctxt; | ||
176 | char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name; | 177 | char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name; |
177 | int authsuccess = 0, expired, reenter, result; | 178 | int authsuccess = 0, expired, reenter, result; |
178 | 179 | ||
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 @@ | |||
51 | int nischeck(char *); | 51 | int nischeck(char *); |
52 | 52 | ||
53 | int | 53 | int |
54 | sys_auth_passwd(Authctxt *authctxt, const char *password) | 54 | sys_auth_passwd(struct ssh *ssh, const char *password) |
55 | { | 55 | { |
56 | Authctxt *authctxt = ssh->authctxt; | ||
56 | struct passwd *pw = authctxt->pw; | 57 | struct passwd *pw = authctxt->pw; |
57 | char *salt; | 58 | char *salt; |
58 | int result; | 59 | int result; |