Only display comment for ssh-askpass
diff --git a/ChangeLog b/ChangeLog
index 0f069df..0456184 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,8 @@
- Retry /dev/urandom reads interrupted by signal (report from
Robert Hardy <rhardy@webcon.net>)
- Added a setenv replacement for systems which lack it
+ - Only display public key comment when presenting ssh-askpass dialog
+ - Released 1.2pre14
19991121
- OpenBSD CVS Changes:
diff --git a/ssh-add.c b/ssh-add.c
index cdd5ca1..ba8a964 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -14,7 +14,7 @@
*/
#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 @@
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);