summaryrefslogtreecommitdiffstats
path: root/sshd.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-03-21 10:38:53 +0100
committerDarren Tucker <dtucker@zip.com.au>2007-03-21 10:38:53 +0100
commit97b1bb568c534ce6cc664f2f91be5aa1b76ce4a4 (patch)
tree38d8793fe8cc3c97b8c5caac018aed95e8edfa85 /sshd.c
parent - (dtucker) [README.platform] Info about blibpath on AIX. (diff)
downloadopenssh-97b1bb568c534ce6cc664f2f91be5aa1b76ce4a4.tar.xz
openssh-97b1bb568c534ce6cc664f2f91be5aa1b76ce4a4.zip
- dtucker@cvs.openbsd.org 2007/03/09 05:20:06
[servconf.c sshd.c] Move C/R -> kbdint special case to after the defaults have been loaded, which makes ChallengeResponse default to yes again. This was broken by the Match changes and not fixed properly subsequently. Found by okan at demirmen.com, ok djm@ "please do it" deraadt@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index 0a76f2d3a..7135c4dd3 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.349 2007/02/21 11:00:05 dtucker Exp $ */
+/* $OpenBSD: sshd.c,v 1.350 2007/03/09 05:20:06 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1421,6 +1421,10 @@ main(int ac, char **av)
/* Fill in default values for those options not explicitly set. */
fill_default_server_options(&options);
+ /* challenge-response is implemented via keyboard interactive */
+ if (options.challenge_response_authentication)
+ options.kbd_interactive_authentication = 1;
+
/* set default channel AF */
channel_set_af(options.address_family);