]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/apple-common-crypto.h
sha1: allow limiting the size of the data passed to SHA1_Update()
[thirdparty/git.git] / compat / apple-common-crypto.h
index c8b9b0e1a6ce63d16aec142611d03fbe24784b43..d3fb2641813404a95709d2b219b9ab1fa1434296 100644 (file)
 #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 { \