aboutsummaryrefslogtreecommitdiffstats
path: root/eap_example/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-08-16 09:34:58 +0300
committerJouni Malinen <j@w1.fi>2009-08-16 09:34:58 +0300
commitc91231c912a4cb5ef1f151cbe60be4e7d06a379d (patch)
tree1fa4f011455ad8c8dc5eec22a092e47e0ffec606 /eap_example/Makefile
parent1b8409a0a57d444509d62bbbce505836c1b8cbdf (diff)
downloadexternal_wpa_supplicant_8_ti-c91231c912a4cb5ef1f151cbe60be4e7d06a379d.zip
external_wpa_supplicant_8_ti-c91231c912a4cb5ef1f151cbe60be4e7d06a379d.tar.gz
external_wpa_supplicant_8_ti-c91231c912a4cb5ef1f151cbe60be4e7d06a379d.tar.bz2
Add GnuTLS build option for eap_example
Diffstat (limited to 'eap_example/Makefile')
-rw-r--r--eap_example/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/eap_example/Makefile b/eap_example/Makefile
index d221346..3efbdfa 100644
--- a/eap_example/Makefile
+++ b/eap_example/Makefile
@@ -13,6 +13,7 @@ endif
CONFIG_TLS=openssl
#CONFIG_TLS=internal
#CONFIG_INTERNAL_LIBTOMMATH=y
+#CONFIG_TLS=gnutls
CFLAGS += -I.
@@ -113,6 +114,14 @@ LIBS += -lssl -lcrypto
CONFIG_INTERNAL_SHA256=y
endif
+ifeq ($(CONFIG_TLS), gnutls)
+CFLAGS += -DEAP_TLS_GNUTLS
+OBJS_both += ../src/crypto/tls_gnutls.o
+OBJS_both += ../src/crypto/crypto_gnutls.o
+LIBS += -lgnutls -lgcrypt
+CONFIG_INTERNAL_SHA256=y
+endif
+
ifeq ($(CONFIG_TLS), internal)
OBJS_both += ../src/crypto/tls_internal.o
OBJS_both += ../src/tls/tlsv1_common.o ../src/tls/tlsv1_record.o