Re: [PATCH] introduce inline is_same_sha1

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2006-08-17 21:59:02
On 8/17/06, David Rientjes <rientjes@google.com> wrote:
> Introduces global inline:
>         is_same_sha1(const unsigned char *sha1,
>                      const unsigned char *sha2);

It is longer and negates all (like in "lots") previous callsites of memcmp.
Are sure you didn't do a trivial typo somewhere?

Why not just sha1cmp? And if you're aiming at hash-type independence,
why not hashcmp?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Aug 17 21:59:48 2006

This archive was generated by hypermail 2.1.8 : 2006-08-17 22:00:30 EST