From 56eaf4aa2808d007d6f9dae1cee26a445aef2751 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Sat, 7 May 2022 15:17:03 +0200
Subject: [PATCH] treewide: switch crypto lib to WolfSSL (#2509)

WolfSSL has a significant lower flash footprint. Also, issues with OWE /
SAE connections were fixed in OpenWrt a while ago.

See https://github.com/openwrt/openwrt/commit/ddcb970274c011d3db611ec39350ee4704ff0e02

Signed-off-by: David Bauer <mail@david-bauer.net>
---
 package/gluon-mesh-wireless-sae/Makefile   | 2 +-
 package/gluon-wireless-encryption/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/gluon-mesh-wireless-sae/Makefile b/package/gluon-mesh-wireless-sae/Makefile
index 3fe755ab..6b3fd271 100644
--- a/package/gluon-mesh-wireless-sae/Makefile
+++ b/package/gluon-mesh-wireless-sae/Makefile
@@ -6,7 +6,7 @@ include ../gluon.mk
 
 define Package/gluon-mesh-wireless-sae
   TITLE:=Encryption of 802.11s Mesh Links through SAE
-  DEPENDS:=+gluon-core +wpa-supplicant-mesh-openssl
+  DEPENDS:=+gluon-core +wpa-supplicant-mesh-wolfssl
 endef
 
 $(eval $(call BuildPackageGluon,gluon-mesh-wireless-sae))
diff --git a/package/gluon-wireless-encryption/Makefile b/package/gluon-wireless-encryption/Makefile
index 879054f8..7edb82c1 100644
--- a/package/gluon-wireless-encryption/Makefile
+++ b/package/gluon-wireless-encryption/Makefile
@@ -5,7 +5,7 @@ PKG_NAME:=gluon-wireless-encryption
 include ../gluon.mk
 
 define Package/gluon-wireless-encryption-wpa3
-  DEPENDS:=+hostapd-openssl
+  DEPENDS:=+hostapd-wolfssl
   TITLE:=Package for supporting WPA3 encrypted wireless networks
 endef
 
-- 
GitLab