summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-07-03 19:23:28 +1000
committerDarren Tucker <dtucker@dtucker.net>2021-07-03 19:23:28 +1000
commit53237ac789183946dac6dcb8838bc3b6b9b43be1 (patch)
tree31ed14140bcb836aae89e13b2a32ba51ce482883 /sshconnect.c
parent2c9e4b319f7e98744b188b0f58859d431def343b (diff)
downloadopenssh-git-53237ac789183946dac6dcb8838bc3b6b9b43be1.tar.gz
Sync remaining ChallengeResponse removal.
These were omitted from commit 88868fd131.
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 17ce0060..fcf87bb7 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.354 2021/06/25 06:20:39 dtucker Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.355 2021/07/02 05:11:21 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1298,13 +1298,6 @@ check_host_key(char *hostname, const struct ssh_conn_info *cinfo,
error("Keyboard-interactive authentication is disabled"
" to avoid man-in-the-middle attacks.");
options.kbd_interactive_authentication = 0;
- options.challenge_response_authentication = 0;
- cancelled_forwarding = 1;
- }
- if (options.challenge_response_authentication) {
- error("Challenge/response authentication is disabled"
- " to avoid man-in-the-middle attacks.");
- options.challenge_response_authentication = 0;
cancelled_forwarding = 1;
}
if (options.forward_agent) {