summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r--openbsd-compat/port-aix.c4
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 */
173int 174int
174sys_auth_passwd(Authctxt *ctxt, const char *password) 175sys_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