From e055716a89f2f25924babc17c12d32c4911be927 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sun, 11 Feb 2001 00:00:24 +0000 Subject: [PATCH] - 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 --- ChangeLog | 4 ++-- sshconnect1.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d4b87433..8830ed117 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,7 +31,7 @@ [sshconnect2.c] do not ask for passphrase in batch mode; report from ejb@ql.org - itojun@cvs.opebsd.org 2001/02/08 10:47:05 - [sshconnect2.c] + [sshconnect1.c sshconnect2.c] %.30s is too short for IPv6 numeric address. use %.128s for now. markus ok - markus@cvs.openbsd.org 2001/02/09 12:28:35 @@ -3885,4 +3885,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.738 2001/02/10 23:56:35 mouring Exp $ +$Id: ChangeLog,v 1.739 2001/02/11 00:00:24 mouring Exp $ diff --git a/sshconnect1.c b/sshconnect1.c index a71d28c27..9d6ab3a6a 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;