SHA1: Add support for Common Crypto

libSystem on darwin can handle SHA1 computation without needing to pull in
OpenSSL. See CC_crypto(3)

Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
This commit is contained in:
Jeremy Huddleston
2009-11-05 18:13:07 -08:00
parent 840a68dc5e
commit 6b109919f6
3 changed files with 44 additions and 1 deletions

View File

@@ -163,6 +163,9 @@
/* Define to use libc SHA1 functions */
#undef HAVE_SHA1_IN_LIBC
/* Define to use CommonCrypto SHA1 functions */
#undef HAVE_SHA1_IN_COMMONCRYPTO
/* Define to use libmd SHA1 functions */
#undef HAVE_SHA1_IN_LIBMD