summaryrefslogtreecommitdiff
path: root/sshconnect1.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-11 00:00:24 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-11 00:00:24 +0000
commite055716a89f2f25924babc17c12d32c4911be927 (patch)
treedc45a76cb0c0371a9d2906393e3b8f9472713920 /sshconnect1.c
parente5b3fb351e4c34d1457ffd3fa8004945be199fe7 (diff)
- itojun@cvs.opebsd.org 2001/02/08 10:47:05
[sshconnect1.c sshconnect2.c] %.30s is too short for IPv6 numeric address. use %.128s for now. markus ok
Diffstat (limited to 'sshconnect1.c')
-rw-r--r--sshconnect1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshconnect1.c b/sshconnect1.c
index a71d28c2..9d6ab3a6 100644
--- a/sshconnect1.c
+++ b/sshconnect1.c
@@ -1046,7 +1046,7 @@ ssh_userauth(
options.password_authentication && !options.batch_mode) {
char prompt[80];
- snprintf(prompt, sizeof(prompt), "%.30s@%.40s's password: ",
+ snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ",
server_user, host);
if (try_password_authentication(prompt))
return;