From c7b38ceed6030484c61c71ea9fafaca6b34a297e Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 9 Nov 1999 10:28:04 +1100 Subject: - Autodetection of SSL/Crypto library location via autoconf - Fixed location of ssh-askpass to follow autoconf - Integrated Makefile patch from Niels Kristian Bech Jensen - Autodetection of RSAref library for US users - Minor doc updates --- ssh-add.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ssh-add.c') diff --git a/ssh-add.c b/ssh-add.c index 07c33d87b..fb237ce2e 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", -- cgit v1.2.3