aboutsummaryrefslogtreecommitdiffstats
path: root/eap_example
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-06 11:59:51 +0200
committerJouni Malinen <j@w1.fi>2009-12-06 11:59:51 +0200
commit36b8ed28245eeb52c769ef4fe742d9d26a07182e (patch)
treefe7a5da0cd5a3cbd7096d28daf64d0f8f95bd542 /eap_example
parentd66e084a9822133ee294dab43a9ca5ee6dbdd4f1 (diff)
downloadexternal_wpa_supplicant_8_ti-36b8ed28245eeb52c769ef4fe742d9d26a07182e.zip
external_wpa_supplicant_8_ti-36b8ed28245eeb52c769ef4fe742d9d26a07182e.tar.gz
external_wpa_supplicant_8_ti-36b8ed28245eeb52c769ef4fe742d9d26a07182e.tar.bz2
eap_example: Fix build after recent crypto changes
Diffstat (limited to 'eap_example')
-rw-r--r--eap_example/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/eap_example/Makefile b/eap_example/Makefile
index ba65bb5..1784d40 100644
--- a/eap_example/Makefile
+++ b/eap_example/Makefile
@@ -26,8 +26,6 @@ OBJS_both += ../src/utils/os_unix.o
OBJS_both += ../src/utils/wpa_debug.o
OBJS_both += ../src/utils/base64.o
OBJS_both += ../src/utils/wpabuf.o
-OBJS_both += ../src/crypto/rc4.o
-OBJS_both += ../src/crypto/md4-internal.o
OBJS_both += ../src/crypto/sha1.o
OBJS_both += ../src/crypto/sha1-tlsprf.o
OBJS_both += ../src/crypto/aes-cbc.o
@@ -40,10 +38,15 @@ OBJS_both += ../src/crypto/aes-wrap.o
OBJS_both += ../src/crypto/ms_funcs.o
ifeq ($(CONFIG_TLS), internal)
+OBJS_both += ../src/crypto/rc4.o
+OBJS_both += ../src/crypto/md4-internal.o
OBJS_both += ../src/crypto/sha1-internal.o
OBJS_both += ../src/crypto/des-internal.o
OBJS_both += ../src/crypto/aes-internal.o ../src/crypto/aes-internal-dec.o ../src/crypto/aes-internal-enc.o
endif
+ifeq ($(CONFIG_TLS), gnutls)
+OBJS_both += ../src/crypto/rc4.o
+endif
SHA256OBJS = ../src/crypto/sha256.o
MD5OBJS = ../src/crypto/md5.o
@@ -104,7 +107,6 @@ ifeq ($(CONFIG_TLS), openssl)
OBJS_both += ../src/crypto/tls_openssl.o
OBJS_both += ../src/crypto/crypto_openssl.o
LIBS += -lssl -lcrypto
-CONFIG_INTERNAL_SHA256=y
endif
ifeq ($(CONFIG_TLS), gnutls)
@@ -120,6 +122,9 @@ OBJS_both += ../src/tls/tlsv1_common.o ../src/tls/tlsv1_record.o
OBJS_both += ../src/tls/tlsv1_cred.o
OBJS_both += ../src/tls/asn1.o ../src/tls/x509v3.o
OBJS_both += ../src/crypto/crypto_internal.o ../src/tls/rsa.o ../src/tls/bignum.o
+OBJS_both += ../src/tls/pkcs1.o
+OBJS_both += ../src/tls/pkcs5.o
+OBJS_both += ../src/tls/pkcs8.o
OBJS_peer += ../src/tls/tlsv1_client.o
OBJS_peer += ../src/tls/tlsv1_client_write.o ../src/tls/tlsv1_client_read.o