diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-22 18:11:23 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-22 18:11:23 +1100 |
commit | d733c91bf3e66c4b14228b3dc20ed448a3bc6d7c (patch) | |
tree | 3958f6ecb89f5e6bd663aa7360411a6b36895657 /ssh-add.c | |
parent | 755c90c34c3bebd08c72a187bbcd8235a4939a6d (diff) |
Only display comment for ssh-askpass
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity. */ #include "includes.h" -RCSID("$Id: ssh-add.c,v 1.10 1999/11/17 06:29:08 damien Exp $"); +RCSID("$Id: ssh-add.c,v 1.11 1999/11/22 07:11:23 damien Exp $"); #include "rsa.h" #include "ssh.h" @@ -282,7 +282,7 @@ int askpass(const char *filename, RSA *key, const char *saved_comment, char **co exit(1); } - tmp = snprintf(buf, sizeof(buf), "Need passphrase for %s (%s)", filename, saved_comment); + tmp = snprintf(buf, sizeof(buf), "Need passphrase for %s", saved_comment); /* skip the prompt if it won't fit */ if ((tmp < 0) || (tmp >= sizeof(buf))) tmp = execlp(ASKPASS_PROGRAM, "ssh-askpass", 0); |