summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-03-01 21:31:28 +1100
committerDarren Tucker <dtucker@zip.com.au>2007-03-01 21:31:28 +1100
commit1d75f22c5d99ce1a4c7a87c7ae042a33fbeefefb (patch)
treec2ba2b55799904f6954f858b0838d069677bf5af /auth2.c
parentcf0d2db2fa94c9e496c3fdd6bdf85e12d021cd50 (diff)
- dtucker@cvs.openbsd.org 2007/03/01 10:28:02
[auth2.c sshd_config.5 servconf.c] Remove ChallengeResponseAuthentication support inside a Match block as its interaction with KbdInteractive makes it difficult to support. Also, relocate the CR/kbdint option special-case code into servconf. "please commit" djm@, ok markus@ for the relocation.
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/auth2.c b/auth2.c
index 2d880b57c..b1a4e3635 100644
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2.c,v 1.113 2006/08/03 03:34:41 deraadt Exp $ */ 1/* $OpenBSD: auth2.c,v 1.114 2007/03/01 10:28:02 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -96,10 +96,6 @@ int user_key_allowed(struct passwd *, Key *);
96void 96void
97do_authentication2(Authctxt *authctxt) 97do_authentication2(Authctxt *authctxt)
98{ 98{
99 /* challenge-response is implemented via keyboard interactive */
100 if (options.challenge_response_authentication)
101 options.kbd_interactive_authentication = 1;
102
103 dispatch_init(&dispatch_protocol_error); 99 dispatch_init(&dispatch_protocol_error);
104 dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); 100 dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
105 dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt); 101 dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt);