From 3f3876344e7c20b57fd6ff848ae181414fa50b08 Mon Sep 17 00:00:00 2001 From: Vamsi Krishna Date: Fri, 20 Dec 2019 16:06:46 +0530 Subject: [PATCH] SAE: Enable NEED_DH_GROUPS_ALL for CONFIG_TESTING_OPTIONS=y builds Enable all DH FFC groups for SAE in wpa_supplicant testing builds. These are needed to allow more testing coverage for AP functionality. Signed-off-by: Jouni Malinen --- wpa_supplicant/Android.mk | 3 +++ wpa_supplicant/Makefile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index ce8a352e7..cd93d48b9 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -233,6 +233,9 @@ OBJS += src/common/sae.c NEED_ECC=y NEED_DH_GROUPS=y NEED_DRAGONFLY=y +ifdef CONFIG_TESTING_OPTIONS +NEED_DH_GROUPS_ALL=y +endif endif ifdef CONFIG_DPP diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index a6329c099..94f9165bb 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -265,6 +265,9 @@ OBJS += ../src/common/sae.o NEED_ECC=y NEED_DH_GROUPS=y NEED_DRAGONFLY=y +ifdef CONFIG_TESTING_OPTIONS +NEED_DH_GROUPS_ALL=y +endif endif ifdef CONFIG_DPP