summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2017-02-24 13:03:15 +0000
committerEdward Thomson <ethomson@github.com>2017-03-03 10:50:27 +0000
commita371a8ae94ff234acdc19cb35dead4312465ffce (patch)
tree5e88660b979fdcceafeced2fc49603af57a44731 /src
parentba2bc4911d99e20f1060bb6767edab94fd5d97a6 (diff)
downloadlibgit2-a371a8ae94ff234acdc19cb35dead4312465ffce.tar.gz
hash: rename implementation selection constants
Diffstat (limited to 'src')
-rw-r--r--src/hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash.h b/src/hash.h
index 0bc02a8a9..76788b18d 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -16,11 +16,11 @@ int git_hash_global_init(void);
int git_hash_ctx_init(git_hash_ctx *ctx);
void git_hash_ctx_cleanup(git_hash_ctx *ctx);
-#if defined(GIT_COMMON_CRYPTO)
+#if defined(GIT_SHA1_COMMON_CRYPTO)
# include "hash/hash_common_crypto.h"
-#elif defined(OPENSSL_SHA1)
+#elif defined(GIT_SHA1_OPENSSL)
# include "hash/hash_openssl.h"
-#elif defined(WIN32_SHA1)
+#elif defined(GIT_SHA1_WIN32)
# include "hash/hash_win32.h"
#else
# include "hash/hash_generic.h"