From: Jouni Malinen Date: Mon, 12 Jan 2009 13:20:12 +0000 (+0200) Subject: Remove TLS-PRF from hostapd build if it is not needed X-Git-Tag: hostap_0_7_0~654 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=815d2189d9960e4a2201013b96498adb0b48f0fc;p=libeap.git Remove TLS-PRF from hostapd build if it is not needed --- diff --git a/hostapd/Makefile b/hostapd/Makefile index f9ee66b..72cbf31 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -347,6 +347,7 @@ ifdef TLS_FUNCS # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS) CFLAGS += -DEAP_TLS_FUNCS OBJS += ../src/eap_server/eap_tls_common.o +NEED_TLS_PRF=y ifeq ($(CONFIG_TLS), openssl) OBJS += ../src/crypto/tls_openssl.o LIBS += -lssl -lcrypto @@ -496,6 +497,10 @@ ifndef NEED_T_PRF CFLAGS += -DCONFIG_NO_T_PRF endif +ifndef NEED_TLS_PRF +CFLAGS += -DCONFIG_NO_TLS_PRF +endif + ifdef CONFIG_RADIUS_SERVER CFLAGS += -DRADIUS_SERVER OBJS += ../src/radius/radius_server.o