[PATCH] BSD: Define WPA_KEY_RSC_LEN if it doesn't exist for BIG ENDIAN machines.
Jouni Malinen
j at w1.fi
Fri Feb 5 06:20:51 PST 2016
On Fri, Feb 05, 2016 at 11:15:40AM +0000, Roy Marples wrote:
> On 05/02/2016 10:33, Jouni Malinen wrote:
> > On Tue, Jan 19, 2016 at 03:37:33PM +0000, Roy Marples wrote:
> >> Define WPA_KEY_RSC_LEN if it doesn't exist for BIG ENDIAN machines.
> >
> > Why would it not exist? driver_bsd.c includes common/wpa_common.h which
> > defines this.
>
> Good question. At the time the patch was written (over 5 years ago), it
> seems that common/wpa_common.h was not included in driver_bsd.c - at
> least in NetBSD.
Yeah, it was broken on big endian.. And fixed 5.1 years ago :) by this
commit:
http://w1.fi/cgit/hostap/commit/?id=9f2951d2fd53a5d13a23e976292020f5dc698abc
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list