Skip to content

Commit 84d71c2

Browse files
avarttaylorr
authored andcommitted
Makefile: document default SHA-256 backend
Since 27dc04c (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 <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent f569897 commit 84d71c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,15 @@ include shared.mak
515515
#
516516
# ==== SHA-256 implementations ====
517517
#
518-
# Define BLK_SHA256 to use the built-in SHA-256 routines.
519-
#
520518
# Define NETTLE_SHA256 to use the SHA-256 routines in libnettle.
521519
#
522520
# Define GCRYPT_SHA256 to use the SHA-256 routines in libgcrypt.
523521
#
524522
# Define OPENSSL_SHA256 to use the SHA-256 routines in OpenSSL.
525523
#
524+
# If don't enable any of the *_SHA256 settings in this section, Git
525+
# will default to its built-in sha256 implementation.
526+
#
526527
# == DEVELOPER defines ==
527528
#
528529
# Define DEVELOPER to enable more compiler warnings. Compiler version

0 commit comments

Comments
 (0)