use sysconfdir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11080 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -160,7 +160,7 @@ rsaencpwd_init(ap, server)
|
||||
gethostname(lhostname, sizeof(lhostname));
|
||||
if ((cp = strchr(lhostname, '.')) != 0) *cp = '\0';
|
||||
snprintf(key_file, sizeof(key_file),
|
||||
"/etc/.%s_privkey", lhostname);
|
||||
SYSCONFDIR "/.%s_privkey", lhostname);
|
||||
if ((fp=fopen(key_file, "r"))==NULL) return(0);
|
||||
fclose(fp);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user