summaryrefslogtreecommitdiffstats
path: root/ssh-add.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-22 18:11:23 +1100
committerDamien Miller <djm@mindrot.org>1999-11-22 18:11:23 +1100
commitd733c91bf3e66c4b14228b3dc20ed448a3bc6d7c (patch)
tree3958f6ecb89f5e6bd663aa7360411a6b36895657 /ssh-add.c
parent755c90c34c3bebd08c72a187bbcd8235a4939a6d (diff)
Only display comment for ssh-askpass
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index cdd5ca1d..ba8a964b 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -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);