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>
This commit is contained in:
parent
324c99296a
commit
7271ee8769
2 changed files with 2 additions and 2 deletions
|
@ -352,7 +352,7 @@ ifdef CONFIG_EAP_GPSK
|
||||||
L_CFLAGS += -DEAP_SERVER_GPSK
|
L_CFLAGS += -DEAP_SERVER_GPSK
|
||||||
OBJS += src/eap_server/eap_server_gpsk.c src/eap_common/eap_gpsk_common.c
|
OBJS += src/eap_server/eap_server_gpsk.c src/eap_common/eap_gpsk_common.c
|
||||||
ifdef CONFIG_EAP_GPSK_SHA256
|
ifdef CONFIG_EAP_GPSK_SHA256
|
||||||
L_CFLAGS += -DEAP_SERVER_GPSK_SHA256
|
L_CFLAGS += -DEAP_GPSK_SHA256
|
||||||
endif
|
endif
|
||||||
NEED_SHA256=y
|
NEED_SHA256=y
|
||||||
NEED_AES_OMAC1=y
|
NEED_AES_OMAC1=y
|
||||||
|
|
|
@ -332,7 +332,7 @@ ifdef CONFIG_EAP_GPSK
|
||||||
CFLAGS += -DEAP_SERVER_GPSK
|
CFLAGS += -DEAP_SERVER_GPSK
|
||||||
OBJS += ../src/eap_server/eap_server_gpsk.o ../src/eap_common/eap_gpsk_common.o
|
OBJS += ../src/eap_server/eap_server_gpsk.o ../src/eap_common/eap_gpsk_common.o
|
||||||
ifdef CONFIG_EAP_GPSK_SHA256
|
ifdef CONFIG_EAP_GPSK_SHA256
|
||||||
CFLAGS += -DEAP_SERVER_GPSK_SHA256
|
CFLAGS += -DEAP_GPSK_SHA256
|
||||||
endif
|
endif
|
||||||
NEED_SHA256=y
|
NEED_SHA256=y
|
||||||
NEED_AES_OMAC1=y
|
NEED_AES_OMAC1=y
|
||||||
|
|
Loading…
Reference in a new issue