summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 14e3d401a..75bd53d08 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: sshconnect2.c,v 1.72 2001/04/18 23:43:26 markus Exp $"); 26RCSID("$OpenBSD: sshconnect2.c,v 1.73 2001/05/18 14:13:29 markus Exp $");
27 27
28#include <openssl/bn.h> 28#include <openssl/bn.h>
29#include <openssl/md5.h> 29#include <openssl/md5.h>
@@ -229,7 +229,7 @@ ssh_userauth2(const char *local_user, const char *server_user, char *host,
229 int type; 229 int type;
230 int plen; 230 int plen;
231 231
232 if (options.challenge_reponse_authentication) 232 if (options.challenge_response_authentication)
233 options.kbd_interactive_authentication = 1; 233 options.kbd_interactive_authentication = 1;
234 234
235 debug("send SSH2_MSG_SERVICE_REQUEST"); 235 debug("send SSH2_MSG_SERVICE_REQUEST");
@@ -787,6 +787,7 @@ input_userauth_info_req(int type, int plen, void *ctxt)
787 packet_start(SSH2_MSG_USERAUTH_INFO_RESPONSE); 787 packet_start(SSH2_MSG_USERAUTH_INFO_RESPONSE);
788 packet_put_int(num_prompts); 788 packet_put_int(num_prompts);
789 789
790 debug2("input_userauth_info_req: num_prompts %d", num_prompts);
790 for (i = 0; i < num_prompts; i++) { 791 for (i = 0; i < num_prompts; i++) {
791 prompt = packet_get_string(NULL); 792 prompt = packet_get_string(NULL);
792 echo = packet_get_char(); 793 echo = packet_get_char();