ref-filter: consult want_color() before emitting colors
[alt-git.git] / hash.h
blobbef3e630a093b508e78419c5f4e228e836ecb88c
1 #ifndef HASH_H
2 #define HASH_H
4 #if defined(SHA1_PPC)
5 #include "ppc/sha1.h"
6 #elif defined(SHA1_APPLE)
7 #include <CommonCrypto/CommonDigest.h>
8 #elif defined(SHA1_OPENSSL)
9 #include <openssl/sha.h>
10 #elif defined(SHA1_DC)
11 #ifdef DC_SHA1_SUBMODULE
12 #include "sha1collisiondetection/lib/sha1.h"
13 #else
14 #include "sha1dc/sha1.h"
15 #endif
16 #else /* SHA1_BLK */
17 #include "block-sha1/sha1.h"
18 #endif
20 #endif