mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
wpa: Fix WITHOUT_CRYPT build
PASN requires CRYPT and when built WITHOUT_CRYPT buildworld
fails. Only enable PASN when MK_CRYPT is enabled (default).
PR: 259517
Reported by: emaste
Fixes: c1d255d3ff
MFC after: 1 week
This commit is contained in:
parent
3bfc837685
commit
a30e8044aa
@ -56,7 +56,6 @@ CFLAGS+=-DCONFIG_TDLS
|
||||
CFLAGS+=-DCONFIG_TERMINATE_ONLASTIF
|
||||
CFLAGS+=-DCONFIG_TLS=openssl
|
||||
CFLAGS+=-DCONFIG_MATCH_IFACE
|
||||
CFLAGS+=-DCONFIG_PASN
|
||||
CFLAGS+=-DCONFIG_PTKSA_CACHE
|
||||
CFLAGS+=-DEAP_SERVER
|
||||
CFLAGS+=-DEAP_SERVER_GTC
|
||||
@ -91,6 +90,10 @@ NEED_AES_ENCBLOCK=y
|
||||
NEED_AES_OMAC1=y
|
||||
.endif
|
||||
|
||||
.if ${MK_CRYPT} != "no"
|
||||
CFLAGS+=-DCONFIG_PASN
|
||||
.endif
|
||||
|
||||
.if !empty(CFLAGS:M*-DEAP_AKA)
|
||||
NEED_SIM_COMMON=y
|
||||
NEED_AES_CBC=y
|
||||
|
Loading…
Reference in New Issue
Block a user