summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2017-08-22 11:48:27 +0100
committerAdam Jackson <ajax@redhat.com>2017-08-22 10:59:40 -0400
commit1ef65692258136d6e36d0d9d6c5efad9877c9ceb (patch)
tree168c9928639dfdea0c87354a7e6800b77be3374d /os
parent292ee7151631cabbd928847a5a2ca47e14a06b75 (diff)
os: make MitGenerateCookie() independent of XCSECURITY
Analogous to previous commit. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'os')
-rw-r--r--os/mitauth.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/os/mitauth.c b/os/mitauth.c
index e75d700e1..a268f62f9 100644
--- a/os/mitauth.c
+++ b/os/mitauth.c
@@ -133,8 +133,6 @@ MitRemoveCookie(unsigned short data_length, const char *data)
return 0;
}
-#ifdef XCSECURITY
-
static char cookie[16]; /* 128 bits */
XID
@@ -161,5 +159,3 @@ MitGenerateCookie(unsigned data_length,
}
return id;
}
-
-#endif /* XCSECURITY */