aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-05 12:11:14 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-07 08:45:11 (GMT)
commit7271ee8769a0806b0ae28cfa17dc6bf627ba0924 (patch)
tree034c35d1e8d41497f32189add232d966941629df /hostapd
parent324c99296a57d9972061dc093b2c7c67a730b1cc (diff)
downloadhostap-7271ee8769a0806b0ae28cfa17dc6bf627ba0924.zip
hostap-7271ee8769a0806b0ae28cfa17dc6bf627ba0924.tar.gz
hostap-7271ee8769a0806b0ae28cfa17dc6bf627ba0924.tar.bz2
Fix EAP-GPSK server compilation for SHA256 cipher suite
Need to use common EAP_GPSK_SHA256 define for this instead of the server-specific EAP_SERVER_GPSK_SHA256 which was not really used anywhere. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk2
-rw-r--r--hostapd/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index c6cdecf..54ac497 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -352,7 +352,7 @@ ifdef CONFIG_EAP_GPSK
L_CFLAGS += -DEAP_SERVER_GPSK
OBJS += src/eap_server/eap_server_gpsk.c src/eap_common/eap_gpsk_common.c
ifdef CONFIG_EAP_GPSK_SHA256
-L_CFLAGS += -DEAP_SERVER_GPSK_SHA256
+L_CFLAGS += -DEAP_GPSK_SHA256
endif
NEED_SHA256=y
NEED_AES_OMAC1=y
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 5bf91ba..5fd6481 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -332,7 +332,7 @@ ifdef CONFIG_EAP_GPSK
CFLAGS += -DEAP_SERVER_GPSK
OBJS += ../src/eap_server/eap_server_gpsk.o ../src/eap_common/eap_gpsk_common.o
ifdef CONFIG_EAP_GPSK_SHA256
-CFLAGS += -DEAP_SERVER_GPSK_SHA256
+CFLAGS += -DEAP_GPSK_SHA256
endif
NEED_SHA256=y
NEED_AES_OMAC1=y