summaryrefslogtreecommitdiff
path: root/pathnames.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-05-25 19:57:41 +0000
committerColin Watson <cjwatson@debian.org>2008-05-25 19:57:41 +0000
commit399dfbc499f54bccb81318cbe86acddcd4bdfeee (patch)
tree6cf28410fcfc165af7dc1c0b6700422721dda560 /pathnames.h
parent56c12903717deaf5eecd4c1b772de1eeb6ec4499 (diff)
Check for blacklists in /usr/share/ssh/ as well as /etc/ssh/ (see
#481283).
Diffstat (limited to 'pathnames.h')
-rw-r--r--pathnames.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pathnames.h b/pathnames.h
index 8886e8edd..e07123437 100644
--- a/pathnames.h
+++ b/pathnames.h
@@ -18,6 +18,10 @@
18#define SSHDIR ETCDIR "/ssh" 18#define SSHDIR ETCDIR "/ssh"
19#endif 19#endif
20 20
21#ifndef _PATH_SSH_DATADIR
22#define _PATH_SSH_DATADIR "/usr/share/ssh"
23#endif
24
21#ifndef _PATH_SSH_PIDDIR 25#ifndef _PATH_SSH_PIDDIR
22#define _PATH_SSH_PIDDIR "/var/run" 26#define _PATH_SSH_PIDDIR "/var/run"
23#endif 27#endif
@@ -43,7 +47,8 @@
43/* Backwards compatibility */ 47/* Backwards compatibility */
44#define _PATH_DH_PRIMES SSHDIR "/primes" 48#define _PATH_DH_PRIMES SSHDIR "/primes"
45 49
46#define _PATH_BLACKLIST SSHDIR "/blacklist" 50#define _PATH_BLACKLIST _PATH_SSH_DATADIR "/blacklist"
51#define _PATH_BLACKLIST_CONFIG SSHDIR "/blacklist"
47 52
48#ifndef _PATH_SSH_PROGRAM 53#ifndef _PATH_SSH_PROGRAM
49#define _PATH_SSH_PROGRAM "/usr/bin/ssh" 54#define _PATH_SSH_PROGRAM "/usr/bin/ssh"