freebsd-dev/usr.sbin/wpa/wpa_priv/Makefile
Cy Schubert 9a0f822853 wpa: Fix a SIGBUS error in wpa_sm_set_rekey_offload
Incorrectly linked built-in wpa functions resulted in overwriting
sm->ctx->set_rekey_offload with garbage. It was initialized correctly
however it changed after wpa_supplicant became a daemon.

No SIGBUS violations reported by dhw@ were experienced during testing
of the original commit by msyelf or philip@.

Reported by:	dhw
Tested by:	dhw
MFC after:	2 months
X-MFC with:	25ecdc7d52
2021-06-02 17:25:37 -07:00

17 lines
272 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.include "../Makefile.crypto"
.PATH.c:${WPA_SUPPLICANT_DISTDIR}
PACKAGE= wpa
PROG= wpa_priv
SRCS= os_unix.c eloop.c common.c wpa_debug.c wpabuf.c wpa_priv.c \
l2_packet_freebsd.c
LIBADD+=pcap wpadrivers
.include <bsd.prog.mk>