Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1: allow limiting the size of the data passed to SHA1_Update()
[gitweb.git]
/
compat
/
apple-common-crypto.h
diff --git
a/compat/apple-common-crypto.h
b/compat/apple-common-crypto.h
index c8b9b0e1a6ce63d16aec142611d03fbe24784b43..d3fb2641813404a95709d2b219b9ab1fa1434296 100644
(file)
--- a/
compat/apple-common-crypto.h
+++ b/
compat/apple-common-crypto.h
@@
-16,6
+16,10
@@
#undef TYPE_BOOL
#endif
+#ifndef SHA1_MAX_BLOCK_SIZE
+#error Using Apple Common Crypto library requires setting SHA1_MAX_BLOCK_SIZE
+#endif
+
#ifdef APPLE_LION_OR_NEWER
#define git_CC_error_check(pattern, err) \
do { \