Skip to content

Commit

Permalink
coova-chilli: Fix WolfSSL support
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Capoano <[email protected]>
(cherry picked from commit bf33335)
  • Loading branch information
nemesifier committed Jan 25, 2025
1 parent 212eb30 commit 7f9058d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/coova-chilli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=coova-chilli
PKG_VERSION:=1.6
PKG_RELEASE:=11
PKG_RELEASE:=12

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
Expand Down
34 changes: 34 additions & 0 deletions net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
--- a/src/md5.h
+++ b/src/md5.h
@@ -29,7 +29,7 @@
#define MD5Final MD5_Final

#elif HAVE_CYASSL
-#include <cyassl/openssl/md5.h>
+#include <wolfssl/openssl/md5.h>

#define MD5Init MD5_Init
#define MD5Update MD5_Update
--- a/src/ssl.h
+++ b/src/ssl.h
@@ -49,13 +49,13 @@ typedef struct {
#include <string.h>

#define OPENSSL_NO_ENGINE
-#include <cyassl/options.h>
-#include <cyassl/ssl.h>
-#include <cyassl/openssl/bio.h>
-#include <cyassl/openssl/crypto.h>
-#include <cyassl/openssl/x509.h>
-#include <cyassl/openssl/ssl.h>
-#include <cyassl/openssl/pem.h>
+#include <wolfssl/options.h>
+#include <wolfssl/ssl.h>
+#include <wolfssl/openssl/bio.h>
+#include <wolfssl/openssl/crypto.h>
+#include <wolfssl/openssl/x509.h>
+#include <wolfssl/openssl/ssl.h>
+#include <wolfssl/openssl/pem.h>
#endif

#define OPENSSL_TMPKEY_MAX 4

0 comments on commit 7f9058d

Please sign in to comment.