diff options
author | 2001-05-02 16:41:20 +0000 | |
---|---|---|
committer | 2001-05-02 16:41:20 +0000 | |
commit | 024d0552df1b5ac50409e38103f8193bce21afd0 (patch) | |
tree | 0456e6750693126b821cd6c3580b9f4a53afc0e4 /usr.bin/ssh/ssh-add.c | |
parent | -b i dunno, and it's hard to get auth .su liquer here to figure it out (diff) | |
download | wireguard-openbsd-024d0552df1b5ac50409e38103f8193bce21afd0.tar.xz wireguard-openbsd-024d0552df1b5ac50409e38103f8193bce21afd0.zip |
fix prompt for ssh-add.
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index 4377ab42a9f..93a2be17fc5 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.36 2001/04/18 21:57:42 markus Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.37 2001/05/02 16:41:20 markus Exp $"); #include <openssl/evp.h> @@ -120,7 +120,7 @@ add_file(AuthenticationConnection *ac, const char *filename) /* clear passphrase since it did not work */ clear_pass(); printf("Need passphrase for %.200s\n", filename); - snprintf(msg, sizeof msg, "Enter passphrase for %.200s ", + snprintf(msg, sizeof msg, "Enter passphrase for %.200s: ", comment); for (;;) { pass = read_passphrase(msg, 1); @@ -133,7 +133,7 @@ add_file(AuthenticationConnection *ac, const char *filename) if (private != NULL) break; clear_pass(); - strlcpy(msg, "Bad passphrase, try again ", sizeof msg); + strlcpy(msg, "Bad passphrase, try again: ", sizeof msg); } } if (ssh_add_identity(ac, private, comment)) |