summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/xenodm-config.in3
-rw-r--r--include/dm.h1
-rw-r--r--xenodm/resource.c6
3 files changed, 1 insertions, 9 deletions
diff --git a/config/xenodm-config.in b/config/xenodm-config.in
index 5c5e354..9cf647c 100644
--- a/config/xenodm-config.in
+++ b/config/xenodm-config.in
@@ -1,8 +1,7 @@
-! $OpenBSD: xenodm-config.in,v 1.4 2017/09/05 17:48:07 deraadt Exp $
+! $OpenBSD: xenodm-config.in,v 1.5 2018/11/03 18:04:45 matthieu Exp $
!
DisplayManager.authDir: @XENODMXAUTHDIR@
DisplayManager.errorLogFile: @XENODMLOGDIR@/xenodm.log
-DisplayManager.keyFile: @XENODMCONFIGDIR@/xenodm-keys
DisplayManager.servers: @XENODMCONFIGDIR@/Xservers
DisplayManager*resources: @XENODMCONFIGDIR@/Xresources
! All displays should use authorization, but we cannot be sure
diff --git a/include/dm.h b/include/dm.h
index 45c6aa2..76de42e 100644
--- a/include/dm.h
+++ b/include/dm.h
@@ -182,7 +182,6 @@ extern int daemonMode;
extern char *authDir;
extern int autoRescan;
extern int removeDomainname;
-extern char *keyFile;
extern char **exportList;
extern struct display *FindDisplayByName (char *name),
diff --git a/xenodm/resource.c b/xenodm/resource.c
index ec61b3f..c661046 100644
--- a/xenodm/resource.c
+++ b/xenodm/resource.c
@@ -50,7 +50,6 @@ int sourceAddress;
char *authDir;
int autoRescan;
int removeDomainname;
-char *keyFile;
char **exportList;
#define DM_STRING 0
@@ -95,9 +94,6 @@ char **exportList;
#ifndef DEF_USER_AUTH_DIR
# define DEF_USER_AUTH_DIR "/tmp"
#endif
-#ifndef DEF_KEY_FILE
-# define DEF_KEY_FILE ""
-#endif
#ifndef DEF_ACCESS_FILE
# define DEF_ACCESS_FILE ""
#endif
@@ -122,8 +118,6 @@ struct dmResources {
"true"} ,
{ "removeDomainname","RemoveDomainname",DM_BOOL,(char **) &removeDomainname,
"true"} ,
-{ "keyFile", "KeyFile", DM_STRING, &keyFile,
- DEF_KEY_FILE} ,
{ "exportList", "ExportList", DM_ARGV, (char **) &exportList,
""} ,
{ "sourceAddress","SourceAddress",DM_BOOL, (char **) &sourceAddress,