enable EAP_GTC and EAP_OTP to match upstream's default configuration

MFC after:	2 weeks
This commit is contained in:
Bernhard Schmidt 2012-04-28 11:01:12 +00:00
parent 9243c06122
commit 2e8de11a06

View File

@ -81,9 +81,11 @@ LDADD+=${WPA_SUPPLICANT_LDADD}
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH) .if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
CFLAGS+=-DEAP_LEAP \ CFLAGS+=-DEAP_GTC \
-DEAP_LEAP \
-DEAP_MD5 \ -DEAP_MD5 \
-DEAP_MSCHAPv2 \ -DEAP_MSCHAPv2 \
-DEAP_OTP \
-DEAP_PEAP \ -DEAP_PEAP \
-DEAP_PSK \ -DEAP_PSK \
-DEAP_TLS \ -DEAP_TLS \
@ -96,10 +98,12 @@ SRCS+= chap.c \
crypto_openssl.c \ crypto_openssl.c \
eap.c \ eap.c \
eap_common.c \ eap_common.c \
eap_gtc.c \
eap_leap.c \ eap_leap.c \
eap_md5.c \ eap_md5.c \
eap_methods.c \ eap_methods.c \
eap_mschapv2.c \ eap_mschapv2.c \
eap_otp.c \
eap_peap.c \ eap_peap.c \
eap_peap_common.c \ eap_peap_common.c \
eap_psk.c \ eap_psk.c \
@ -112,14 +116,6 @@ SRCS+= chap.c \
mschapv2.c \ mschapv2.c \
tls_openssl.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) .if !empty(CFLAGS:M*-DEAP_AKA)
NEED_SIM_COMMON= true NEED_SIM_COMMON= true
SRCS+= eap_aka.c SRCS+= eap_aka.c