aboutsummaryrefslogtreecommitdiffstats
path: root/eap_example
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-28 17:47:04 (GMT)
committerJouni Malinen <j@w1.fi>2009-07-28 17:47:04 (GMT)
commit928a50a35574a8c771e77146a1d490546e27a4c9 (patch)
tree11b1c13c332b83c659c32e78750ae1d283babe65 /eap_example
parent602606091b62a64017f91b33b0527a4948a21a71 (diff)
downloadhostap-928a50a35574a8c771e77146a1d490546e27a4c9.zip
hostap-928a50a35574a8c771e77146a1d490546e27a4c9.tar.gz
hostap-928a50a35574a8c771e77146a1d490546e27a4c9.tar.bz2
Crypto build cleanup: remove INTERNAL_SHA1
Instead of using a define and conditional building of sha1.c parts, move the internal-SHA-1 into a separate file.
Diffstat (limited to 'eap_example')
-rw-r--r--eap_example/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/eap_example/Makefile b/eap_example/Makefile
index c3e3256..5c11a07 100644
--- a/eap_example/Makefile
+++ b/eap_example/Makefile
@@ -34,7 +34,7 @@ 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
+OBJS_both += ../src/crypto/sha1.o ../src/crypto/sha1-internal.o
OBJS_both += ../src/crypto/des.o
OBJS_both += ../src/crypto/aes_wrap.o
OBJS_both += ../src/crypto/aes.o
@@ -121,7 +121,6 @@ CFLAGS += -DCONFIG_TLS_INTERNAL
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
CFLAGS += -DCONFIG_INTERNAL_X509
CFLAGS += -DINTERNAL_AES
-CFLAGS += -DINTERNAL_SHA1
CFLAGS += -DINTERNAL_SHA256
CFLAGS += -DINTERNAL_MD5
CFLAGS += -DINTERNAL_MD4