freebsd-dev/usr.sbin/wpa/wpa_passphrase/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

20 lines
311 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.include "../Makefile.crypto"
.PATH.c:${WPA_SUPPLICANT_DISTDIR}
PACKAGE= wpa
PROG= wpa_passphrase
SRCS= wpa_passphrase.c
CFLAGS+= -DCONFIG_CRYPTO_INTERNAL -DINTERNAL_SHA1 -DINTERNAL_MD5
LIBADD+= util wpacrypto wpautils
MAN= wpa_passphrase.8
.include <bsd.prog.mk>