summaryrefslogtreecommitdiff
path: root/auth2-kbdint.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2017-05-30 14:29:59 +0000
committerDamien Miller <djm@mindrot.org>2017-05-31 10:50:33 +1000
commiteb272ea4099fd6157846f15c129ac5727933aa69 (patch)
tree7c721828dc6504e4adaa6517ce65840eaaba06ef /auth2-kbdint.c
parent5a146bbd4fdf5c571f9fb438e5210d28cead76d9 (diff)
upstream commit
switch auth2 to ssh_dispatch API; ok djm@ Upstream-ID: a752ca19e2782900dd83060b5c6344008106215f
Diffstat (limited to 'auth2-kbdint.c')
-rw-r--r--auth2-kbdint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-kbdint.c b/auth2-kbdint.c
index bf75c6059..86aad8ddc 100644
--- a/auth2-kbdint.c
+++ b/auth2-kbdint.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-kbdint.c,v 1.7 2014/07/15 15:54:14 millert Exp $ */ 1/* $OpenBSD: auth2-kbdint.c,v 1.8 2017/05/30 14:29:59 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -43,7 +43,7 @@
43extern ServerOptions options; 43extern ServerOptions options;
44 44
45static int 45static int
46userauth_kbdint(Authctxt *authctxt) 46userauth_kbdint(struct ssh *ssh)
47{ 47{
48 int authenticated = 0; 48 int authenticated = 0;
49 char *lang, *devs; 49 char *lang, *devs;
@@ -55,7 +55,7 @@ userauth_kbdint(Authctxt *authctxt)
55 debug("keyboard-interactive devs %s", devs); 55 debug("keyboard-interactive devs %s", devs);
56 56
57 if (options.challenge_response_authentication) 57 if (options.challenge_response_authentication)
58 authenticated = auth2_challenge(authctxt, devs); 58 authenticated = auth2_challenge(ssh, devs);
59 59
60 free(devs); 60 free(devs);
61 free(lang); 61 free(lang);