mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Add GnuTLS build option for eap_example
This commit is contained in:
parent
1b8409a0a5
commit
c91231c912
@ -13,6 +13,7 @@ endif
|
|||||||
CONFIG_TLS=openssl
|
CONFIG_TLS=openssl
|
||||||
#CONFIG_TLS=internal
|
#CONFIG_TLS=internal
|
||||||
#CONFIG_INTERNAL_LIBTOMMATH=y
|
#CONFIG_INTERNAL_LIBTOMMATH=y
|
||||||
|
#CONFIG_TLS=gnutls
|
||||||
|
|
||||||
|
|
||||||
CFLAGS += -I.
|
CFLAGS += -I.
|
||||||
@ -113,6 +114,14 @@ LIBS += -lssl -lcrypto
|
|||||||
CONFIG_INTERNAL_SHA256=y
|
CONFIG_INTERNAL_SHA256=y
|
||||||
endif
|
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)
|
ifeq ($(CONFIG_TLS), internal)
|
||||||
OBJS_both += ../src/crypto/tls_internal.o
|
OBJS_both += ../src/crypto/tls_internal.o
|
||||||
OBJS_both += ../src/tls/tlsv1_common.o ../src/tls/tlsv1_record.o
|
OBJS_both += ../src/tls/tlsv1_common.o ../src/tls/tlsv1_record.o
|
||||||
|
Loading…
Reference in New Issue
Block a user