From: Junio C Hamano Date: Fri, 02 Feb 2018 19:39:22 GMT Subject: Re: [PATCH v2 01/12] hash: move SHA-1 macros to hash.h Message-ID: In-Reply-To: <20180201021848.533188-2-sandals@crustytoothpaste.net> "brian m. carlson" writes: > +#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.