diff options
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |
17 | RCSID("$Id: ssh-add.c,v 1.4 1999/11/08 05:15:55 damien Exp $"); | 17 | RCSID("$Id: ssh-add.c,v 1.5 1999/11/08 23:28:04 damien Exp $"); |
18 | 18 | ||
19 | #include "rsa.h" | 19 | #include "rsa.h" |
20 | #include "ssh.h" | 20 | #include "ssh.h" |
@@ -112,9 +112,9 @@ add_file(AuthenticationConnection *ac, const char *filename) | |||
112 | filename, saved_comment); | 112 | filename, saved_comment); |
113 | /* skip the prompt if it won't fit */ | 113 | /* skip the prompt if it won't fit */ |
114 | if (tmp < 0 || tmp >= BUFSIZE) | 114 | if (tmp < 0 || tmp >= BUFSIZE) |
115 | tmp=execlp("/usr/lib/ssh/ssh-askpass", "ssh-askpass", 0); | 115 | tmp=execlp(ASKPASS_PROGRAM, "ssh-askpass", 0); |
116 | else | 116 | else |
117 | tmp=execlp("/usr/lib/ssh/ssh-askpass", "ssh-askpass", buf, 0); | 117 | tmp=execlp(ASKPASS_PROGRAM, "ssh-askpass", buf, 0); |
118 | if (tmp==-1) | 118 | if (tmp==-1) |
119 | { | 119 | { |
120 | fprintf(stderr, "Executing ssh-askpass failed: %s\n", | 120 | fprintf(stderr, "Executing ssh-askpass failed: %s\n", |