Re: [PATCH v2 01/12] hash: move SHA-1 macros to hash.h
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 2, 2018, 19:39 UTC
- Message-ID
- <xmqqmv0rchat.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180201021848.533188-2-sandals@crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 8 quoted lines
> +#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 > + * own implementations like block-sha1 and ppc-sha1, so we list > + * the default for OpenSSL compatible SHA-1 implementations here. > + */
This nit has been with us for a long time, but "Note that including SHA1_HEADER may have..." has been way too stale a comment for quite some time. It was made different from "including SHA1_HEADER" by f18f816c ("hash.h: move SHA-1 implementation selection into a header file", 2017-03-11).
Perhaps
Note that we may have already defined platform_SHA_CTX for our own implementations like block-sha1 and ppc-sha1, so we list ...
or something.