summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-09 10:28:04 +1100
committerDamien Miller <djm@mindrot.org>1999-11-09 10:28:04 +1100
commitc7b38ceed6030484c61c71ea9fafaca6b34a297e (patch)
tree4ad64e48a77da1772b19ab6578ad8877ab75ba3a /ssh-add.c
parente8d9068a36e2528dbaf48c192cd1f97e8beafdfe (diff)
- Autodetection of SSL/Crypto library location via autoconf
- Fixed location of ssh-askpass to follow autoconf - Integrated Makefile patch from Niels Kristian Bech Jensen <nkbj@image.dk> - Autodetection of RSAref library for US users - Minor doc updates
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 07c33d87..fb237ce2 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.4 1999/11/08 05:15:55 damien Exp $");
+RCSID("$Id: ssh-add.c,v 1.5 1999/11/08 23:28:04 damien Exp $");
#include "rsa.h"
#include "ssh.h"
@@ -112,9 +112,9 @@ add_file(AuthenticationConnection *ac, const char *filename)
filename, saved_comment);
/* skip the prompt if it won't fit */
if (tmp < 0 || tmp >= BUFSIZE)
- tmp=execlp("/usr/lib/ssh/ssh-askpass", "ssh-askpass", 0);
+ tmp=execlp(ASKPASS_PROGRAM, "ssh-askpass", 0);
else
- tmp=execlp("/usr/lib/ssh/ssh-askpass", "ssh-askpass", buf, 0);
+ tmp=execlp(ASKPASS_PROGRAM, "ssh-askpass", buf, 0);
if (tmp==-1)
{
fprintf(stderr, "Executing ssh-askpass failed: %s\n",