diff options
Diffstat (limited to 'auth-sia.c')
-rw-r--r-- | auth-sia.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth-sia.c b/auth-sia.c index a9e1c258c..7c97f03e5 100644 --- a/auth-sia.c +++ b/auth-sia.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <string.h> | 36 | #include <string.h> |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh_api.h" | ||
39 | #include "key.h" | 40 | #include "key.h" |
40 | #include "hostfile.h" | 41 | #include "hostfile.h" |
41 | #include "auth.h" | 42 | #include "auth.h" |
@@ -50,11 +51,12 @@ extern int saved_argc; | |||
50 | extern char **saved_argv; | 51 | extern char **saved_argv; |
51 | 52 | ||
52 | int | 53 | int |
53 | sys_auth_passwd(Authctxt *authctxt, const char *pass) | 54 | sys_auth_passwd(struct ssh *ssh, const char *pass) |
54 | { | 55 | { |
55 | int ret; | 56 | int ret; |
56 | SIAENTITY *ent = NULL; | 57 | SIAENTITY *ent = NULL; |
57 | const char *host; | 58 | const char *host; |
59 | Authctxt *authctxt = ssh->authctxt; | ||
58 | 60 | ||
59 | host = get_canonical_hostname(options.use_dns); | 61 | host = get_canonical_hostname(options.use_dns); |
60 | 62 | ||