Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-11-08 00:23:08 +0300
committerTaylor Blau <me@ttaylorr.com>2022-11-08 06:11:51 +0300
commit84d71c20214455c9c5ce9d5b4b0412f4915e650a (patch)
treec7c9f2632f43df5e679b89ee6f0093be2c753542 /Makefile
parentf569897cdac5c79639aaaa9f97207bc317e7624d (diff)
Makefile: document default SHA-256 backend
Since 27dc04c5450 (sha256: add an SHA-256 implementation using libgcrypt, 2018-11-14) we've claimed to support a BLK_SHA256 flag, but there's no such SHA-256 backend. Instead we fall back on adding "sha256/block/sha256.o" to "LIB_OBJS" and adding "-DSHA256_BLK" to BASIC_CFLAGS. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 251368b315..646fbe5b7d 100644
--- a/Makefile
+++ b/Makefile
@@ -515,14 +515,15 @@ include shared.mak
#
# ==== SHA-256 implementations ====
#
-# Define BLK_SHA256 to use the built-in SHA-256 routines.
-#
# Define NETTLE_SHA256 to use the SHA-256 routines in libnettle.
#
# Define GCRYPT_SHA256 to use the SHA-256 routines in libgcrypt.
#
# Define OPENSSL_SHA256 to use the SHA-256 routines in OpenSSL.
#
+# If don't enable any of the *_SHA256 settings in this section, Git
+# will default to its built-in sha256 implementation.
+#
# == DEVELOPER defines ==
#
# Define DEVELOPER to enable more compiler warnings. Compiler version