aboutsummaryrefslogtreecommitdiffstats
path: root/eap_example
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-28 21:00:44 +0300
committerJouni Malinen <j@w1.fi>2009-07-28 21:00:44 +0300
commit657f038102fa53b14b22c3664ed67941143594e7 (patch)
tree26850d03270fd09cdbdb66c45ca5f3fd10f4dcb0 /eap_example
parent928a50a35574a8c771e77146a1d490546e27a4c9 (diff)
downloadexternal_wpa_supplicant_8_ti-657f038102fa53b14b22c3664ed67941143594e7.zip
external_wpa_supplicant_8_ti-657f038102fa53b14b22c3664ed67941143594e7.tar.gz
external_wpa_supplicant_8_ti-657f038102fa53b14b22c3664ed67941143594e7.tar.bz2
Crypto build cleanup: remove INTERNAL_DES
In addition, rename des.c to des-internal.c to match in style with SHA-1 conditionally built internal implementation.
Diffstat (limited to 'eap_example')
-rw-r--r--eap_example/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/eap_example/Makefile b/eap_example/Makefile
index 5c11a07..ae9e9f7 100644
--- a/eap_example/Makefile
+++ b/eap_example/Makefile
@@ -34,13 +34,17 @@ OBJS_both += ../src/utils/wpabuf.o
OBJS_both += ../src/crypto/md5.o
OBJS_both += ../src/crypto/rc4.o
OBJS_both += ../src/crypto/md4.o
-OBJS_both += ../src/crypto/sha1.o ../src/crypto/sha1-internal.o
-OBJS_both += ../src/crypto/des.o
+OBJS_both += ../src/crypto/sha1.o
OBJS_both += ../src/crypto/aes_wrap.o
OBJS_both += ../src/crypto/aes.o
OBJS_both += ../src/crypto/ms_funcs.o
OBJS_both += ../src/crypto/sha256.o
+ifeq ($(CONFIG_TLS), internal)
+OBJS_both += ../src/crypto/sha1-internal.o
+OBJS_both += ../src/crypto/des-internal.o
+endif
+
OBJS_both += ../src/eap_common/eap_peap_common.o
OBJS_both += ../src/eap_common/eap_psk_common.o
@@ -124,7 +128,6 @@ CFLAGS += -DINTERNAL_AES
CFLAGS += -DINTERNAL_SHA256
CFLAGS += -DINTERNAL_MD5
CFLAGS += -DINTERNAL_MD4
-CFLAGS += -DINTERNAL_DES
ifdef CONFIG_INTERNAL_LIBTOMMATH
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
else