summaryrefslogtreecommitdiff
path: root/sshconnect1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect1.c')
-rw-r--r--sshconnect1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshconnect1.c b/sshconnect1.c
index 17b381c13..b2d4e57bf 100644
--- a/sshconnect1.c
+++ b/sshconnect1.c
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15#include "includes.h" 15#include "includes.h"
16RCSID("$OpenBSD: sshconnect1.c,v 1.15 2001/01/16 23:58:09 deraadt Exp $"); 16RCSID("$OpenBSD: sshconnect1.c,v 1.16 2001/01/18 17:00:00 markus Exp $");
17 17
18#include <openssl/bn.h> 18#include <openssl/bn.h>
19#include <openssl/dsa.h> 19#include <openssl/dsa.h>
@@ -630,7 +630,8 @@ try_skey_authentication()
630 } 630 }
631 challenge = packet_get_string(&clen); 631 challenge = packet_get_string(&clen);
632 packet_integrity_check(payload_len, (4 + clen), type); 632 packet_integrity_check(payload_len, (4 + clen), type);
633 snprintf(prompt, sizeof prompt, "%s\nResponse: ", challenge); 633 snprintf(prompt, sizeof prompt, "%s%s", challenge,
634 strchr(challenge, '\n') ? "" : "\nResponse: ");
634 xfree(challenge); 635 xfree(challenge);
635 if (i != 0) 636 if (i != 0)
636 error("Permission denied, please try again."); 637 error("Permission denied, please try again.");