[PATCH] fix sha1 strict aliasing bug

Jouni Malinen j
Sun Nov 22 12:03:16 PST 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