diff options
Diffstat (limited to 'auth2-chall.c')
-rw-r--r-- | auth2-chall.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index 80f212287..954eb4e18 100644 --- a/auth2-chall.c +++ b/auth2-chall.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-chall.c,v 1.46 2017/05/30 14:18:15 markus Exp $ */ | 1 | /* $OpenBSD: auth2-chall.c,v 1.47 2017/05/30 14:23:52 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2001 Per Allansson. All rights reserved. | 4 | * Copyright (c) 2001 Per Allansson. All rights reserved. |
@@ -49,7 +49,7 @@ extern ServerOptions options; | |||
49 | 49 | ||
50 | static int auth2_challenge_start(Authctxt *); | 50 | static int auth2_challenge_start(Authctxt *); |
51 | static int send_userauth_info_request(Authctxt *); | 51 | static int send_userauth_info_request(Authctxt *); |
52 | static int input_userauth_info_response(int, u_int32_t, void *); | 52 | static int input_userauth_info_response(int, u_int32_t, struct ssh *); |
53 | 53 | ||
54 | #ifdef BSD_AUTH | 54 | #ifdef BSD_AUTH |
55 | extern KbdintDevice bsdauth_device; | 55 | extern KbdintDevice bsdauth_device; |
@@ -285,9 +285,8 @@ send_userauth_info_request(Authctxt *authctxt) | |||
285 | } | 285 | } |
286 | 286 | ||
287 | static int | 287 | static int |
288 | input_userauth_info_response(int type, u_int32_t seq, void *ctxt) | 288 | input_userauth_info_response(int type, u_int32_t seq, struct ssh *ssh) |
289 | { | 289 | { |
290 | struct ssh *ssh = ctxt; | ||
291 | Authctxt *authctxt = ssh->authctxt; | 290 | Authctxt *authctxt = ssh->authctxt; |
292 | KbdintAuthctxt *kbdintctxt; | 291 | KbdintAuthctxt *kbdintctxt; |
293 | int authenticated = 0, res; | 292 | int authenticated = 0, res; |