summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
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 cdd5ca1d0..ba8a964b0 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity.
14*/ 14*/
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: ssh-add.c,v 1.10 1999/11/17 06:29:08 damien Exp $"); 17RCSID("$Id: ssh-add.c,v 1.11 1999/11/22 07:11:23 damien Exp $");
18 18
19#include "rsa.h" 19#include "rsa.h"
20#include "ssh.h" 20#include "ssh.h"
@@ -282,7 +282,7 @@ int askpass(const char *filename, RSA *key, const char *saved_comment, char **co
282 exit(1); 282 exit(1);
283 } 283 }
284 284
285 tmp = snprintf(buf, sizeof(buf), "Need passphrase for %s (%s)", filename, saved_comment); 285 tmp = snprintf(buf, sizeof(buf), "Need passphrase for %s", saved_comment);
286 /* skip the prompt if it won't fit */ 286 /* skip the prompt if it won't fit */
287 if ((tmp < 0) || (tmp >= sizeof(buf))) 287 if ((tmp < 0) || (tmp >= sizeof(buf)))
288 tmp = execlp(ASKPASS_PROGRAM, "ssh-askpass", 0); 288 tmp = execlp(ASKPASS_PROGRAM, "ssh-askpass", 0);