summaryrefslogtreecommitdiff
path: root/include/dix-config.h.in
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2017-02-28 19:18:25 +0100
committerAdam Jackson <ajax@redhat.com>2017-02-28 13:59:14 -0500
commitd7ac755f0b618eb1259d93c8a16ec6e39a18627c (patch)
treeec336f7136f9286bbca151c9a5b1cc4860955d7f /include/dix-config.h.in
parent1b12249fd6d4d3b566043d556503f3f625b9b4ba (diff)
Use timingsafe_memcmp() to compare MIT-MAGIC-COOKIES CVE-2017-2624
Provide the function definition for systems that don't have it. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/dix-config.h.in')
-rw-r--r--include/dix-config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 4f020e5d8..4b86c1a3c 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -238,6 +238,9 @@
/* Define to 1 if you have the <sys/utsname.h> header file. */
#undef HAVE_SYS_UTSNAME_H
+/* Define to 1 if you have the `timingsafe_memcmp' function. */
+#undef HAVE_TIMINGSAFE_MEMCMP
+
/* Define to 1 if you have the <tslib.h> header file. */
#undef HAVE_TSLIB_H