mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 23:49:24 +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:
@@ -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