summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 19:33:22 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 19:33:22 (GMT)
commitcef661fc799a3a13ffdea4a3f69f1acd295de53d (patch)
tree690494557d393ca78f69a8569880ed4a3aeda276 /cache.h
parentcc1ad5c8309fbace11e3a68e3ec8ffcbded442a6 (diff)
downloadgit-cef661fc799a3a13ffdea4a3f69f1acd295de53d.zip
git-cef661fc799a3a13ffdea4a3f69f1acd295de53d.tar.gz
git-cef661fc799a3a13ffdea4a3f69f1acd295de53d.tar.bz2
Add support for alternate SHA1 library implementations.
This one includes the Mozilla SHA1 implementation sent in by Edgar Toernig. It's dual-licenced under MPL-1.1 or GPL, so in the context of git, we obviously use the GPL version. Side note: the Mozilla SHA1 implementation is about twice as fast as the default openssl one on my G5, but the default openssl one has optimized x86 assembly language on x86. So choose wisely.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 02b6a73..8b226b6 100644
--- a/cache.h
+++ b/cache.h
@@ -14,7 +14,7 @@
#include <sys/param.h>
#include <netinet/in.h>
-#include <openssl/sha.h>
+#include SHA1_HEADER
#include <zlib.h>
/*