summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-07 14:54:53 +1100
committerDamien Miller <djm@mindrot.org>1999-12-07 14:54:53 +1100
commit3bc14dde057f5d1faee1df1d29a6520063102b77 (patch)
tree8e3801208b4211c294d5b12faaac0391a3ac1b5e
parent0c078c663312a31045b5a59196610e086bc8b4b2 (diff)
Fixed default SSH_ASKPASS
-rw-r--r--ChangeLog1
-rw-r--r--Makefile.in2
-rw-r--r--ssh.h6
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ca28a39df..476d8630c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
119991207 119991207
2 - sshd Redhat init script patch from Jim Knoble <jmknoble@pobox.com> 2 - sshd Redhat init script patch from Jim Knoble <jmknoble@pobox.com>
3 fixes compatability with 4.x and 5.x 3 fixes compatability with 4.x and 5.x
4 - Fixed default SSH_ASKPASS
4 5
519991204 619991204
6 - Small cleanup of PAM code in sshd.c 7 - Small cleanup of PAM code in sshd.c
diff --git a/Makefile.in b/Makefile.in
index 55b851063..c2c3261b5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -10,7 +10,7 @@ SSH_PROGRAM=@bindir@/ssh
10ASKPASS_PROGRAM=@libexecdir@/ssh/ssh-askpass 10ASKPASS_PROGRAM=@libexecdir@/ssh/ssh-askpass
11 11
12CC=@CC@ 12CC=@CC@
13PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" 13PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\"
14CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ 14CFLAGS=@CFLAGS@ $(PATHS) @DEFS@
15EXTRA_TARGETS=@GNOME_ASKPASS@ 15EXTRA_TARGETS=@GNOME_ASKPASS@
16TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) 16TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS)
diff --git a/ssh.h b/ssh.h
index 961c82a25..0b66264f6 100644
--- a/ssh.h
+++ b/ssh.h
@@ -13,7 +13,7 @@
13 * 13 *
14 */ 14 */
15 15
16/* RCSID("$Id: ssh.h,v 1.17 1999/12/06 00:47:29 damien Exp $"); */ 16/* RCSID("$Id: ssh.h,v 1.18 1999/12/07 03:54:53 damien Exp $"); */
17 17
18#ifndef SSH_H 18#ifndef SSH_H
19#define SSH_H 19#define SSH_H
@@ -173,7 +173,9 @@
173 * Default path to ssh-askpass used by ssh-add, 173 * Default path to ssh-askpass used by ssh-add,
174 * environment variable for overwriting the default location 174 * environment variable for overwriting the default location
175 */ 175 */
176#define SSH_ASKPASS_DEFAULT "/usr/X11R6/bin/ssh-askpass" 176#ifndef SSH_ASKPASS_DEFAULT
177# define SSH_ASKPASS_DEFAULT "/usr/X11R6/bin/ssh-askpass"
178#endif
177#define SSH_ASKPASS_ENV "SSH_ASKPASS" 179#define SSH_ASKPASS_ENV "SSH_ASKPASS"
178 180
179/* 181/*