aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-10-11 12:24:40 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-22 19:02:47 (GMT)
commita7d0a98de2d5d5e90d05dc39f9f91ca88611e16a (patch)
tree778d48883e3b3dac84a9045bab10935bbec096da /wpa_supplicant
parentdfd0188ed6ca5184cf5dc74379e940f5bc079439 (diff)
downloadhostap-06-a7d0a98de2d5d5e90d05dc39f9f91ca88611e16a.zip
hostap-06-a7d0a98de2d5d5e90d05dc39f9f91ca88611e16a.tar.gz
hostap-06-a7d0a98de2d5d5e90d05dc39f9f91ca88611e16a.tar.bz2
Include only the used DH groups in the build
This reduces the binary size by 3 kB or so when WPS is included in the build, but IKEv2 is not. (cherry picked from commit dd01b1ff9d8a19c1e1b7e40d6df7d838d2ac34bb)
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index a1eb085..06d5d30 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -555,6 +555,7 @@ OBJS_h += ../src/eap_server/ikev2.o
endif
CONFIG_IEEE8021X_EAPOL=y
NEED_DH_GROUPS=y
+NEED_DH_GROUPS_ALL=y
endif
ifdef CONFIG_EAP_VENDOR_TEST
@@ -976,6 +977,9 @@ endif
ifdef NEED_DH_GROUPS
OBJS += ../src/crypto/dh_groups.o
+ifdef NEED_DH_GROUPS_ALL
+CFLAGS += -DALL_DH_GROUPS
+endif
endif
ifndef NEED_FIPS186_2_PRF