Merge pull request #100 from night1rider/curl-fips-patch
Curl 7.82.0 wolfSSL Patch for Kirkstonemaster
commit
2cfe6d802f
|
@ -1,2 +1,3 @@
|
|||
.vscode/
|
||||
.vscode/*
|
||||
.vscode/*
|
||||
recipes-wolfssl/wolfssl/commercial/files/wolfssl*
|
|
@ -6,3 +6,8 @@ CPPFLAGS += "-I${STAGING_DIR_HOST}${prefix}/include/wolfssl"
|
|||
# Uncomment the line below if you're targeting FIPS compliance. NTLM uses MD5,
|
||||
# which isn't a FIPS-approved algorithm.
|
||||
# EXTRA_OECONF += "--disable-ntlm"
|
||||
|
||||
# Add the directory where the patch is located to the search path
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/patches:"
|
||||
|
||||
SRC_URI += "file://wolfssl-m4-options-fix.patch"
|
|
@ -8,3 +8,8 @@ CPPFLAGS:class-target += "-I${STAGING_DIR_HOST}${prefix}/include/wolfssl"
|
|||
# Uncomment the line below if you're targeting FIPS compliance. NTLM uses MD5,
|
||||
# which isn't a FIPS-approved algorithm.
|
||||
# EXTRA_OECONF:class-target += "--disable-ntlm"
|
||||
|
||||
# Add the directory where the patch is located to the search path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/../patches:"
|
||||
|
||||
SRC_URI += "file://wolfssl-m4-options-fix.patch"
|
|
@ -0,0 +1,27 @@
|
|||
From 6657602f504e49d27b5aa667a5ed04076ac2c4f6 Mon Sep 17 00:00:00 2001
|
||||
From: Rosen Penev <rosenp@gmail.com>
|
||||
Date: Tue, 19 Jul 2022 19:22:20 -0700
|
||||
Subject: [PATCH] curl-wolfssl.m4: add options header when building test code
|
||||
|
||||
Needed for certain configurations of wolfSSL. Otherwise, missing header
|
||||
error may occur.
|
||||
|
||||
Tested with OpenWrt.
|
||||
|
||||
Closes #9187
|
||||
---
|
||||
m4/curl-wolfssl.m4 | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/m4/curl-wolfssl.m4 b/m4/curl-wolfssl.m4
|
||||
index 1f732e348ac2..9d6f561d803a 100644
|
||||
--- a/m4/curl-wolfssl.m4
|
||||
+++ b/m4/curl-wolfssl.m4
|
||||
@@ -95,6 +95,7 @@ if test "x$OPT_WOLFSSL" != xno; then
|
||||
They are set up properly later if it is detected. */
|
||||
#undef SIZEOF_LONG
|
||||
#undef SIZEOF_LONG_LONG
|
||||
+#include <wolfssl/options.h>
|
||||
#include <wolfssl/ssl.h>
|
||||
]],[[
|
||||
return wolfSSL_Init();
|
Loading…
Reference in New Issue