mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
coova-chilli: Fix WolfSSL support
Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
(cherry picked from commit bf3333594a)
This commit is contained in:
committed by
Hannu Nyman
parent
9ae63147f5
commit
ac5519dcea
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=coova-chilli
|
PKG_NAME:=coova-chilli
|
||||||
PKG_VERSION:=1.6
|
PKG_VERSION:=1.6
|
||||||
PKG_RELEASE:=11
|
PKG_RELEASE:=12
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
|
||||||
|
|||||||
34
net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch
Normal file
34
net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user