summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth-sia.c3
-rw-r--r--openbsd-compat/port-aix.c3
-rw-r--r--openbsd-compat/port-uw.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/auth-sia.c b/auth-sia.c
index a9e1c258c..051d152cf 100644
--- a/auth-sia.c
+++ b/auth-sia.c
@@ -50,11 +50,12 @@ extern int saved_argc;
50extern char **saved_argv; 50extern char **saved_argv;
51 51
52int 52int
53sys_auth_passwd(Authctxt *authctxt, const char *pass) 53sys_auth_passwd(struct ssh *ssh, const char *pass)
54{ 54{
55 int ret; 55 int ret;
56 SIAENTITY *ent = NULL; 56 SIAENTITY *ent = NULL;
57 const char *host; 57 const char *host;
58 Authctxt *authctxt = ssh->authctxt;
58 59
59 host = get_canonical_hostname(options.use_dns); 60 host = get_canonical_hostname(options.use_dns);
60 61
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 */
173int 173int
174sys_auth_passwd(Authctxt *ctxt, const char *password) 174sys_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 @@
51int nischeck(char *); 51int nischeck(char *);
52 52
53int 53int
54sys_auth_passwd(Authctxt *authctxt, const char *password) 54sys_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;