diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 *); | |||
96 | void | 96 | void |
97 | do_authentication2(Authctxt *authctxt) | 97 | do_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); |