diff options
author | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:20:28 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:57:25 +0100 |
commit | a0b2dce9bf518f561bbb5070c0fb0c38f49035dd (patch) | |
tree | 24298b823e93d4e6efe13f48f1512707ebd625f8 /openbsd-compat/port-aix.c | |
parent | 9d4942dc192b6f1888c9ab73a512dd9b197b956c (diff) | |
parent | 76aa43d2298f322f0371b74462418d0461537131 (diff) |
New upstream release (7.7p1)
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index c2970c4db..79c868966 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "hostfile.h" | 32 | #include "hostfile.h" |
33 | #include "auth.h" | 33 | #include "auth.h" |
34 | #include "ssh.h" | 34 | #include "ssh.h" |
35 | #include "ssh_api.h" | ||
35 | #include "log.h" | 36 | #include "log.h" |
36 | 37 | ||
37 | #ifdef _AIX | 38 | #ifdef _AIX |
@@ -171,8 +172,9 @@ aix_valid_authentications(const char *user) | |||
171 | * returns 0. | 172 | * returns 0. |
172 | */ | 173 | */ |
173 | int | 174 | int |
174 | sys_auth_passwd(Authctxt *ctxt, const char *password) | 175 | sys_auth_passwd(struct ssh *ssh, const char *password) |
175 | { | 176 | { |
177 | Authctxt *ctxt = ssh->authctxt; | ||
176 | char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name; | 178 | char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name; |
177 | int authsuccess = 0, expired, reenter, result; | 179 | int authsuccess = 0, expired, reenter, result; |
178 | 180 | ||