mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 14:19:17 +00:00
os: auth: factor out auth proto names into defines
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult .
parent
c2e24369a9
commit
922d45cada
@@ -64,7 +64,7 @@ struct protocol {
|
||||
|
||||
static struct protocol protocols[] = {
|
||||
{
|
||||
.name = "MIT-MAGIC-COOKIE-1",
|
||||
.name = XAUTH_PROTO_MIT,
|
||||
.Add = MitAddCookie,
|
||||
.Check = MitCheckCookie,
|
||||
.Reset = MitResetCookie,
|
||||
@@ -74,7 +74,7 @@ static struct protocol protocols[] = {
|
||||
},
|
||||
#ifdef HASXDMAUTH
|
||||
{
|
||||
.name = "XDM-AUTHORIZATION-1",
|
||||
.name = XAUTH_PROTO_XDM,
|
||||
.Add = XdmAddCookie,
|
||||
.Check = XdmCheckCookie,
|
||||
.Reset = XdmResetCookie,
|
||||
|
||||
Reference in New Issue
Block a user