aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-12-12 00:28:39 (GMT)
committerJouni Malinen <j@w1.fi>2020-01-31 21:16:05 (GMT)
commit312eac1d1ee1a76860fce639169dc66dc5c0abf0 (patch)
treebf8ed4a6f046f597f154736e21c6b7adc7e8d8c7 /hostapd/Makefile
parent31b5950d0b0d937c56f7e738adfe3ddf2866c7ac (diff)
downloadhostap-312eac1d1ee1a76860fce639169dc66dc5c0abf0.zip
hostap-312eac1d1ee1a76860fce639169dc66dc5c0abf0.tar.gz
hostap-312eac1d1ee1a76860fce639169dc66dc5c0abf0.tar.bz2
DPP: Add ASN.1 support into build
This will be needed in following patches to process DPPEnvelopedData. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index f1896f2..8666763 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -583,6 +583,7 @@ NEED_ECC=y
NEED_JSON=y
NEED_GAS=y
NEED_BASE64=y
+NEED_ASN1=y
ifdef CONFIG_DPP2
CFLAGS += -DCONFIG_DPP2
endif
@@ -756,12 +757,12 @@ OBJS += ../src/tls/tlsv1_cred.o
OBJS += ../src/tls/tlsv1_server.o
OBJS += ../src/tls/tlsv1_server_write.o
OBJS += ../src/tls/tlsv1_server_read.o
-OBJS += ../src/tls/asn1.o
OBJS += ../src/tls/rsa.o
OBJS += ../src/tls/x509v3.o
OBJS += ../src/tls/pkcs1.o
OBJS += ../src/tls/pkcs5.o
OBJS += ../src/tls/pkcs8.o
+NEED_ASN1=y
NEED_BASE64=y
NEED_TLS_PRF=y
ifdef CONFIG_TLSV12
@@ -832,12 +833,12 @@ OBJS += ../src/tls/tlsv1_cred.o
OBJS += ../src/tls/tlsv1_server.o
OBJS += ../src/tls/tlsv1_server_write.o
OBJS += ../src/tls/tlsv1_server_read.o
-OBJS += ../src/tls/asn1.o
OBJS += ../src/tls/rsa.o
OBJS += ../src/tls/x509v3.o
OBJS += ../src/tls/pkcs1.o
OBJS += ../src/tls/pkcs5.o
OBJS += ../src/tls/pkcs8.o
+NEED_ASN1=y
NEED_BASE64=y
NEED_TLS_PRF=y
ifdef CONFIG_TLSV12
@@ -1085,6 +1086,10 @@ CFLAGS += -DCONFIG_INTERNAL_SHA512
OBJS += ../src/crypto/sha512-internal.o
endif
+ifdef NEED_ASN1
+OBJS += ../src/tls/asn1.o
+endif
+
ifdef NEED_DH_GROUPS
OBJS += ../src/crypto/dh_groups.o
endif