aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-12-31 17:41:21 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-12 15:51:52 (GMT)
commitaadabe7045fe38846793cc577d78fae9cfe13d76 (patch)
treec27d12d606c770e64f6565aa1a955d61a709d61d /wpa_supplicant/Makefile
parent619c70a0b24bb910ebcef6786a85ddff3b05427e (diff)
downloadhostap-aadabe7045fe38846793cc577d78fae9cfe13d76.zip
hostap-aadabe7045fe38846793cc577d78fae9cfe13d76.tar.gz
hostap-aadabe7045fe38846793cc577d78fae9cfe13d76.tar.bz2
SAE: Use crypto wrappers instead of direct OpenSSL calls
This makes the SAE implementation independent of the crypto/bignum library. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r--wpa_supplicant/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 1529bf6..4348e52 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -175,6 +175,7 @@ endif
ifdef CONFIG_SAE
CFLAGS += -DCONFIG_SAE
OBJS += ../src/common/sae.o
+NEED_ECC=y
endif
ifdef CONFIG_WNM
@@ -1181,6 +1182,10 @@ OBJS += ../src/crypto/dh_group5.o
endif
endif
+ifdef NEED_ECC
+CFLAGS += -DCONFIG_ECC
+endif
+
ifdef CONFIG_NO_RANDOM_POOL
CFLAGS += -DCONFIG_NO_RANDOM_POOL
else