crypto_bignum_rand() use needless time-consuming filtering which resulted in SAE no longer connecting within time limits. Import fixes from hostap upstream to fix that. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
26 lines
818 B
Diff
26 lines
818 B
Diff
From 79488da576aeeb9400e1742fab7f463eed0fa7a1 Mon Sep 17 00:00:00 2001
|
|
From: Jouni Malinen <j@w1.fi>
|
|
Date: Sat, 16 May 2020 21:07:45 +0300
|
|
Subject: [PATCH 3/3] wolfssl: Do not hardcode include directory in
|
|
wpa_supplicant build
|
|
|
|
This is not really appropriate for any kind of cross compilations and is
|
|
not really needed in general since system specific values can be set in
|
|
.config.
|
|
|
|
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
---
|
|
wpa_supplicant/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/wpa_supplicant/Makefile
|
|
+++ b/wpa_supplicant/Makefile
|
|
@@ -1086,7 +1086,7 @@ endif
|
|
|
|
ifeq ($(CONFIG_TLS), wolfssl)
|
|
ifdef TLS_FUNCS
|
|
-CFLAGS += -DWOLFSSL_DER_LOAD -I/usr/local/include/wolfssl
|
|
+CFLAGS += -DWOLFSSL_DER_LOAD
|
|
OBJS += ../src/crypto/tls_wolfssl.o
|
|
endif
|
|
OBJS += ../src/crypto/crypto_wolfssl.o
|