]> git.ipfire.org Git - thirdparty/git.git/commitdiff
hash: update obsolete reference to SHA1_HEADER
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 8 Feb 2018 02:48:58 +0000 (02:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Feb 2018 17:56:10 +0000 (09:56 -0800)
We moved away from SHA1_HEADER to a preprocessor if chain, but didn't
update the comment discussing the platform defines.  Update this comment
so it reflects the current state of our codebase.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hash.h

diff --git a/hash.h b/hash.h
index eb30f59be37225b5002d032edb5f5adde86cea45..7c8238bc2ebfded778351b58c16a3854617082c6 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -18,8 +18,8 @@
 #ifndef platform_SHA_CTX
 /*
  * platform's underlying implementation of SHA-1; could be OpenSSL,
- * blk_SHA, Apple CommonCrypto, etc...  Note that including
- * SHA1_HEADER may have already defined platform_SHA_CTX for our
+ * blk_SHA, Apple CommonCrypto, etc...  Note that the relevant
+ * SHA-1 header may have already defined platform_SHA_CTX for our
  * own implementations like block-sha1 and ppc-sha1, so we list
  * the default for OpenSSL compatible SHA-1 implementations here.
  */