From b8cfac7d011f7d52d6f13c6a4cab2d9eb1992939 Mon Sep 17 00:00:00 2001 From: bschmidt Date: Sat, 28 Apr 2012 11:01:12 +0000 Subject: enable EAP_GTC and EAP_OTP to match upstream's default configuration MFC after: 2 weeks --- usr.sbin/wpa/wpa_supplicant/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'usr.sbin/wpa') 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 -- cgit v1.1