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:20:28 +0100 |
commit | ed6ae9c1a014a08ff5db3d768f01f2e427eeb476 (patch) | |
tree | 601025e307745d351946c01ab13f419ddb6dae29 /openbsd-compat/port-aix.c | |
parent | 62f54f20bf351468e0124f63cc2902ee40d9b0e9 (diff) | |
parent | a0349a1cc4a18967ad1dbff5389bcdf9da098814 (diff) |
Import openssh_7.7p1.orig.tar.gz
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 | ||