summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2012-04-28 11:01:12 +0000
committerbschmidt <bschmidt@FreeBSD.org>2012-04-28 11:01:12 +0000
commitb8cfac7d011f7d52d6f13c6a4cab2d9eb1992939 (patch)
treeeee70407fecc45ffd219ef626e1bcf8be0c036ca /usr.sbin/wpa
parent0a3070da3bc186a2d4b0584b37c98d59021a4de3 (diff)
downloadFreeBSD-src-b8cfac7d011f7d52d6f13c6a4cab2d9eb1992939.zip
FreeBSD-src-b8cfac7d011f7d52d6f13c6a4cab2d9eb1992939.tar.gz
enable EAP_GTC and EAP_OTP to match upstream's default configuration
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/wpa')
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index 30a7e5f..f35283f 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -81,9 +81,11 @@ LDADD+=${WPA_SUPPLICANT_LDADD}
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
-CFLAGS+=-DEAP_LEAP \
+CFLAGS+=-DEAP_GTC \
+ -DEAP_LEAP \
-DEAP_MD5 \
-DEAP_MSCHAPv2 \
+ -DEAP_OTP \
-DEAP_PEAP \
-DEAP_PSK \
-DEAP_TLS \
@@ -96,10 +98,12 @@ SRCS+= chap.c \
crypto_openssl.c \
eap.c \
eap_common.c \
+ eap_gtc.c \
eap_leap.c \
eap_md5.c \
eap_methods.c \
eap_mschapv2.c \
+ eap_otp.c \
eap_peap.c \
eap_peap_common.c \
eap_psk.c \
@@ -112,14 +116,6 @@ SRCS+= chap.c \
mschapv2.c \
tls_openssl.c
-.if !empty(CFLAGS:M*-DEAP_GTC)
-SRCS+= eap_gtc.c
-.endif
-
-.if !empty(CFLAGS:M*-DEAP_OTP)
-SRCS+= eap_otp.c
-.endif
-
.if !empty(CFLAGS:M*-DEAP_AKA)
NEED_SIM_COMMON= true
SRCS+= eap_aka.c
OpenPOWER on IntegriCloud