summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2009-10-29 01:54:00 +0600
committerKeith Packard <keithp@keithp.com>2009-10-28 15:49:38 -0700
commitccf4a69db747b000aee09072aac0a2891bde139a (patch)
tree8d30f6c94d8fd37bb5288ca933e56101de87913f /include
parent8613e4b0eb04150b1e377871f02b164be5d001e9 (diff)
os: Add libsha1 as a choice of SHA1 implementation
There are small systems which don't need OpenSSL or gcrypt. Add libsha1 (http://github.com/dottedmag/libsha1) as an alternative small SHA1 implementation. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-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 7f1fb1836..ebf373392 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -166,6 +166,9 @@
/* Define to use libgcrypt SHA1 functions */
#undef HAVE_SHA1_IN_LIBGCRYPT
+/* Define to use libsha1 for SHA1 */
+#undef HAVE_SHA1_IN_LIBSHA1
+
/* Define to 1 if you have the `shmctl64' function. */
#undef HAVE_SHMCTL64