[Mesa-dev] [PATCH 1/3] util: Fix SHA1 implementation on big endian

Matt Turner mattst88 at gmail.com
Mon Nov 27 17:51:33 UTC 2017


On Mon, Nov 27, 2017 at 5:41 AM, Jon Turney <jon.turney at dronecode.org.uk> wrote:
> On 26/11/2017 00:46, Matt Turner wrote:
>>
>> I've committed what I hope is the final fix.
>
>
> After this series, if we are building on a target unknown to u_endian.h, so
> it can't determine the endianess, sha1.c now builds for big-endian.
>
> This choice is made silently, but fortunately mesa-sha1_test fails when
> built for the wrong endianess, so there is some hope to notice this...

Thanks. The attached patch is

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list