[PATCH] fix sha1 strict aliasing bug

Jouni Malinen j at w1.fi
Sun Nov 22 15:03:16 EST 2009


On Fri, Nov 20, 2009 at 03:26:52PM -0800, Dan Williams wrote:
> Discovered as part of the investigation of:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=494262#c32
> 
> if sha1 is built with gcc without turning off strict aliasing, it will
> fail to correctly generate the hashes and will fail its own testcases as
> well.

Thanks, applied.

> Jouni: 0.6 too please? :)

And cherry-picked into 0.6.x, too.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list