]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Only display comment for ssh-askpass
authorDamien Miller <djm@mindrot.org>
Mon, 22 Nov 1999 07:11:23 +0000 (18:11 +1100)
committerDamien Miller <djm@mindrot.org>
Mon, 22 Nov 1999 07:11:23 +0000 (18:11 +1100)
ChangeLog
ssh-add.c

index 0f069dfd12089e80a88edfa883dc5b23b4cdaef6..04561846e682332e4c2b2d46a929877cd632eb6a 100644 (file)
--- 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:
index cdd5ca1d029c634b071460c16404c507c84e4ef5..ba8a964b060c965951c1d015b83b411c51ccea5e 100644 (file)
--- 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);