wpa: Fix WITHOUT_WPA_SUPPLICANT_EAPOL build
Reported by: FreeBSD Build Option Survey
https://callfortesting.org/results/bos-2021-11-04/
Fixes: c1d255d3ff
MFC after: 1 week
This commit is contained in:
parent
ba5de3c2b3
commit
c9516b83c1
@ -42,11 +42,6 @@ CFLAGS+=-DCONFIG_IEEE80211R
|
||||
CFLAGS+=-DCONFIG_IEEE80211W
|
||||
CFLAGS+=-DTLS_DEFAULT_CIPHERS=\"DEFAULT:!EXP:!LOW\"
|
||||
CFLAGS+=-DCONFIG_DEBUG_SYSLOG
|
||||
CFLAGS+=-DCONFIG_WPS
|
||||
CFLAGS+=-DCONFIG_WPS2
|
||||
CFLAGS+=-DCONFIG_WPS_UPNP
|
||||
CFLAGS+=-DCONFIG_WPS_OOB
|
||||
CFLAGS+=-DCONFIG_INTERWORKING
|
||||
CFLAGS+=-DPKCS12_FUNCS
|
||||
CFLAGS+=-DCONFIG_GAS
|
||||
CFLAGS+=-DCONFIG_PEERKEY
|
||||
@ -84,7 +79,12 @@ CFLAGS+=-DCONFIG_HS20 \
|
||||
-DEAP_TLS \
|
||||
-DEAP_TTLS \
|
||||
-DEAP_WSC \
|
||||
-DIEEE8021X_EAPOL
|
||||
-DIEEE8021X_EAPOL \
|
||||
-DCONFIG_INTERWORKING \
|
||||
-DCONFIG_WPS \
|
||||
-DCONFIG_WPS2 \
|
||||
-DCONFIG_WPS_UPNP \
|
||||
-DCONFIG_WPS_OOB
|
||||
NEED_AES_EAX=y
|
||||
NEED_AES_ENCBLOCK=y
|
||||
NEED_AES_OMAC1=y
|
||||
|
@ -20,9 +20,7 @@ SRCS= accounting.c \
|
||||
dfs.c \
|
||||
drv_callbacks.c \
|
||||
eap_user_db.c \
|
||||
gas_serv.c \
|
||||
hostapd.c \
|
||||
hs20.c \
|
||||
ieee802_11_auth.c \
|
||||
ieee802_11_ht.c \
|
||||
ieee802_11_shared.c \
|
||||
@ -43,8 +41,13 @@ SRCS= accounting.c \
|
||||
wnm_ap.c \
|
||||
wpa_auth.c \
|
||||
wpa_auth_glue.c \
|
||||
wpa_auth_ie.c \
|
||||
wpa_auth_ie.c
|
||||
|
||||
.if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
|
||||
SRCS+= gas_serv.c \
|
||||
hs20.c \
|
||||
wps_hostapd.c
|
||||
.endif
|
||||
|
||||
CFLAGS+=-DHOSTAPD
|
||||
|
||||
|
@ -138,9 +138,7 @@ SRCS+= dh_group5.c
|
||||
SRCS+= dh_groups.c
|
||||
.endif
|
||||
|
||||
.if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
|
||||
SRCS+= ms_funcs.c
|
||||
.endif
|
||||
|
||||
CFLAGS+=-DCONFIG_CRYPTO_INTERNAL \
|
||||
-DCONFIG_TLS_INTERNAL_CLIENT \
|
||||
|
Loading…
Reference in New Issue
Block a user