openssh/openssh-4.6p1-challenge.patch

23 lines
574 B
Diff

--- servconf.c
+++ servconf.c
@@ -266,6 +266,10 @@
}
#endif
+ /* challenge-response is implemented via keyboard interactive */
+ if (options->challenge_response_authentication == 1)
+ options->kbd_interactive_authentication = 1;
+
}
/* Keyword tokens. */
@@ -1398,8 +1402,4 @@
if (bad_options > 0)
fatal("%s: terminating, %d bad configuration options",
filename, bad_options);
-
- /* challenge-response is implemented via keyboard interactive */
- if (options->challenge_response_authentication == 1)
- options->kbd_interactive_authentication = 1;
}