From 2bbe76d8b3e9657b78bb43f11b2764a400b8a698 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 3 Nov 2018 18:04:46 +0000 Subject: Remove the unused 'keyFile' resource. It is not used anymore in xenodm (was used to specify the secret keys for the XDM-AUTHORIZATION-1 authentication protocol in xdm with xdmcp). ok kn@ --- config/xenodm-config.in | 3 +-- include/dm.h | 1 - xenodm/resource.c | 6 ------ 3 files changed, 1 insertion(+), 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, -- cgit v1.2.3