]> andersk Git - openssh.git/blobdiff - ssh-add.c
- Autodetection of SSL/Crypto library location via autoconf
[openssh.git] / ssh-add.c
index ec472a39b1486136ccceb748327d8a93c70e3f88..a8c70526585e842cb65dd0e32a6b55982adda267 100644 (file)
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -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",
This page took 0.034335 seconds and 4 git commands to generate.