mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
wpa: Fix WITHOUT_OPENSSL build
PR: 259517
Reported by: emaste, FreeBSD Build Option Survey
https://callfortesting.org/results/bos-2021-11-04/
Fixes: c1d255d3ff
MFC after: 1 week
This commit is contained in:
parent
96e2ac9c48
commit
ba5de3c2b3
|
@ -56,7 +56,6 @@ CFLAGS+=-DCONFIG_TDLS
|
|||
CFLAGS+=-DCONFIG_TERMINATE_ONLASTIF
|
||||
CFLAGS+=-DCONFIG_TLS=openssl
|
||||
CFLAGS+=-DCONFIG_MATCH_IFACE
|
||||
CFLAGS+=-DCONFIG_PASN
|
||||
CFLAGS+=-DCONFIG_PTKSA_CACHE
|
||||
CFLAGS+=-DEAP_SERVER
|
||||
CFLAGS+=-DEAP_SERVER_GTC
|
||||
|
@ -91,6 +90,10 @@ NEED_AES_ENCBLOCK=y
|
|||
NEED_AES_OMAC1=y
|
||||
.endif
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
CFLAGS+=-DCONFIG_PASN
|
||||
.endif
|
||||
|
||||
.if !empty(CFLAGS:M*-DEAP_AKA)
|
||||
NEED_SIM_COMMON=y
|
||||
NEED_AES_CBC=y
|
||||
|
|
|
@ -29,13 +29,14 @@ SRCS+= asn1.c \
|
|||
tlsv1_server_read.c \
|
||||
tlsv1_server_write.c \
|
||||
x509v3.c
|
||||
.endif
|
||||
.endif
|
||||
|
||||
CFLAGS+=-DCONFIG_INTERNAL_LIBTOMMATH \
|
||||
-DCONFIG_CRYPTO_INTERNAL \
|
||||
-DCONFIG_TLSV11 \
|
||||
-DCONFIG_CRYPTO_INTERNAL
|
||||
.else
|
||||
CFLAGS+=-DCONFIG_TLSV11 \
|
||||
-DCONFIG_TLSV12
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# We are only interested in includes at this point. Not libraries.
|
||||
LIBADD=
|
||||
|
|
|
@ -27,7 +27,6 @@ SRCS= bss.c \
|
|||
notify.c \
|
||||
op_classes.c \
|
||||
offchannel.c \
|
||||
pasn_supplicant.c \
|
||||
robust_av.c \
|
||||
rrm.c \
|
||||
scan.c \
|
||||
|
@ -37,6 +36,10 @@ SRCS= bss.c \
|
|||
wpa_supplicant.c \
|
||||
wpas_glue.c
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
SRCS+= pasn_supplicant.c
|
||||
.endif
|
||||
|
||||
MAN= wpa_supplicant.8 wpa_supplicant.conf.5
|
||||
|
||||
.if ${MK_EXAMPLES} != "no"
|
||||
|
|
Loading…
Reference in a new issue