[PATCH v2] hash: update obsolete reference to SHA1_HEADER
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Feb 8, 2018, 02:48 UTC
- Message-ID
- <20180208024858.872624-1-sandals@crustytoothpaste.net>
- In-Reply-To
- <xmqqinbfcgzo.fsf@gitster-ct.c.googlers.com>
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> --- hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hash.h b/hash.h index eb30f59be3..7c8238bc2e 100644 --- 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. */