summaryrefslogtreecommitdiff
path: root/auth2-chall.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2017-05-30 14:18:15 +0000
committerDamien Miller <djm@mindrot.org>2017-05-31 10:49:50 +1000
commit5f4082d886c6173b9e90b9768c9a38a3bfd92c2b (patch)
tree76ca3a7c1727cb3203b982cce20b511eee4d9b09 /auth2-chall.c
parent7da5df11ac788bc1133d8d598d298e33500524cc (diff)
upstream commit
sshd: pass struct ssh to auth functions; ok djm@ Upstream-ID: b00a80c3460884ebcdd14ef550154c761aebe488
Diffstat (limited to 'auth2-chall.c')
-rw-r--r--auth2-chall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth2-chall.c b/auth2-chall.c
index 4be421287..80f212287 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-chall.c,v 1.45 2017/05/30 08:49:58 markus Exp $ */ 1/* $OpenBSD: auth2-chall.c,v 1.46 2017/05/30 14:18:15 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.
@@ -287,7 +287,8 @@ send_userauth_info_request(Authctxt *authctxt)
287static int 287static int
288input_userauth_info_response(int type, u_int32_t seq, void *ctxt) 288input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
289{ 289{
290 Authctxt *authctxt = ctxt; 290 struct ssh *ssh = ctxt;
291 Authctxt *authctxt = ssh->authctxt;
291 KbdintAuthctxt *kbdintctxt; 292 KbdintAuthctxt *kbdintctxt;
292 int authenticated = 0, res; 293 int authenticated = 0, res;
293 u_int i, nresp; 294 u_int i, nresp;