| Message ID | 20260628150320.13244-1-gert@greenie.muc.de |
|---|---|
| State | New |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:7001:a48a:b0:861:c897:cb9d with SMTP id
vp10csp3129109mab;
Sun, 28 Jun 2026 08:03:37 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AFNElJ9Ix5twTbK7l/D59VrCB4NE2Ui461uf/JdAcuK0mjw5U/SEFVY7e9DRIo8PVGCNtcPsCp0qmkY6YmI=@openvpn.net
X-Received: by 2002:a05:6820:984:b0:6a1:18fc:519f with SMTP id
006d021491bc7-6a14fb3e3a6mr5326271eaf.0.1782659016898;
Sun, 28 Jun 2026 08:03:36 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1782659016; cv=none;
d=google.com; s=arc-20260327;
b=qEq037jhh7ps9QSy48mafjM6ciaW7guKk++bEB6cvW5jbyjPIebwe8icIcfmDXZwRz
W1GJ1Z+ESDwLcbx3ixt5rT+cWdLG+SUiYiU+3Elt8WwknGF/NatY8kinA41WR3jv8fD/
vbrFY1KlqRqx4BMEFXmIuPmMgIhcw+kAC76IZokrZMlEhm4+GGVGrbdHNZM5NYPdBNG4
IX5+WPM3S6FsR8Ykerq1fE7XZZgxkJrSle3o+oDDG6Cpy7YAxtnB1kLL4Vuo72viiI/E
Z6X5CAldW7INQE+mJ5Oq3eiuUKqAoDQDmuX3hHwLQFp8ucIqalw99+vt4kpsFcxr3P0V
fIfA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=errors-to:content-transfer-encoding:list-subscribe:list-help
:list-post:list-archive:list-unsubscribe:list-id:precedence:subject
:mime-version:references:in-reply-to:message-id:date:to:from
:dkim-signature:dkim-signature:dkim-signature;
bh=pKLuTtEWzMPAwtckPm+Cy0OzoXPmCPaxI7XYvfBgJag=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=mx+tknUrSln7SPqbkHwMzZu1I4f7j4WLe0gr5FBsTKVchItTwbf7C0/Niv6w6XTyRd
Fwia6RQgpINiHeZJ+r+5Efm1Z1jOil1ofswxzhGA+zhQeOGU7qDKoFO1GxOniIYO4FU6
g1hgqMce4YRENeVf3lkxg6ZajAX+3NxHd58HRj3xD8TwfQdTf5fF4bGmj4ETnqdgEcgk
e8ezS+UhY1YNAFky3YGoflGnoE+4dw6ryBWmW0Xh95EI7xio2Bh/RQfrFvUEUyJNxXOA
fnBB3wxTcP4zgju6lh3MH4yx36j5Uxqi6M6Px+qXhbct3gkqb0m77CQF5dwmmOc5AWFw
jqkA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=XBeWlUwx;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=VlinJxSA;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b="BD/zl2Px";
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net;
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de
Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7])
by mx.google.com with ESMTPS id
586e51a60fabf-448969d6fcasi1070458fac.200.2026.06.28.08.03.36
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Sun, 28 Jun 2026 08:03:36 -0700 (PDT)
Received-SPF: pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) client-ip=216.105.38.7;
Authentication-Results: mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=XBeWlUwx;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=VlinJxSA;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b="BD/zl2Px";
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net;
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:
List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:
Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender:
Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;
bh=pKLuTtEWzMPAwtckPm+Cy0OzoXPmCPaxI7XYvfBgJag=; b=XBeWlUwxYSK/dSQtnr1AcUMXyE
KsqXUUIyH4ftdLfmLSv9hPeUiZy7SAwTBXqRd0UpmKERRq+lzWK0qfn6exg6QSq8hNFvQXR5hdkgY
SdV41kf3ofutT7TI6OcfQ39CrxhNlo0hvfXyFE6+8rMEHJiZbuLFcB8KMU2uWbX7bcVA=;
Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com)
by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95)
(envelope-from <openvpn-devel-bounces@lists.sourceforge.net>)
id 1wdr2j-0002Tw-3V;
Sun, 28 Jun 2026 15:03:33 +0000
Received: from [172.30.29.66] (helo=mx.sourceforge.net)
by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
(envelope-from <gert@blue4.greenie.muc.de>) id 1wdr2i-0002Tp-BU
for openvpn-devel@lists.sourceforge.net;
Sun, 28 Jun 2026 15:03:33 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References:
In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=gYpL7gylVKE/3eRwKAiBpll7TNeuoPIsn/dgwR8kxoA=; b=VlinJxSAKSIosWqLV5WETWwqIt
ES3gykAil6PVfTUdu5zKksAyQvTgoLwtDXFExMWtJn/C3mzbqe/tY8R79b9K1JgJFnmyOQ+XZ7A2D
KU8ZIesPp0JDqFXNSBPSUeVhmslMad+4Ccqw4/Nc6MOHR0kujG//CVLptoLtII31wr1I=;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x
;
h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:
Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
List-Post:List-Owner:List-Archive;
bh=gYpL7gylVKE/3eRwKAiBpll7TNeuoPIsn/dgwR8kxoA=; b=BD/zl2PxGOcj3yELfZWyAWycSp
tJHYRycOh2ZtjJajQwIoDJ0urirCGjqE6IRtN7eiyUD55RHOLyto/GIsD0ssKoUNE665QNBT12Fgl
M9ntQ/TFnz3tXaTIwtHGlbGU5GDro/Kea6V6wAIXEAaX5kxZdhtATpJbBDdcrbEdteLg=;
Received: from [193.149.48.129] (helo=blue.greenie.muc.de)
by sfi-mx-2.v28.lw.sourceforge.com with esmtps
(TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95)
id 1wdr2h-0006w2-KV for openvpn-devel@lists.sourceforge.net;
Sun, 28 Jun 2026 15:03:32 +0000
Received: from blue.greenie.muc.de (localhost [127.0.0.1])
by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 65SF3KlB013267
for <openvpn-devel@lists.sourceforge.net>; Sun, 28 Jun 2026 17:03:20 +0200
Received: (from gert@localhost)
by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 65SF3KVD013266
for openvpn-devel@lists.sourceforge.net; Sun, 28 Jun 2026 17:03:20 +0200
From: Gert Doering <gert@greenie.muc.de>
To: openvpn-devel@lists.sourceforge.net
Date: Sun, 28 Jun 2026 17:03:15 +0200
Message-ID: <20260628150320.13244-1-gert@greenie.muc.de>
X-Mailer: git-send-email 2.53.0
In-Reply-To:
<gerrit.1775130235000.I355760e43c3e2da0dda0cdec6e4253c028cefe38@gerrit.openvpn.net>
References:
<gerrit.1775130235000.I355760e43c3e2da0dda0cdec6e4253c028cefe38@gerrit.openvpn.net>
MIME-Version: 1.0
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software,
running on the system "sfi-spamd-1.hosts.colo.sdot.me",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: From: Arne Schwabe <arne@rfc2549.org> Change-Id:
I355760e43c3e2da0dda0cdec6e4253c028cefe38
Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Frank Lichtenheld
<frank@lichtenheld.com> Gerrit URL: https://gerrit.openvpn.net/c/openvpn
[...] Content analysis details: (1.3 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Headers-End: 1wdr2h-0006w2-KV
Subject: [Openvpn-devel] [PATCH v6] Fix building wolfSSL with CMake
X-BeenThere: openvpn-devel@lists.sourceforge.net
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <openvpn-devel.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel>
List-Post: <mailto:openvpn-devel@lists.sourceforge.net>
List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: openvpn-devel-bounces@lists.sourceforge.net
X-getmail-retrieved-from-mailbox: Inbox
X-GMAIL-THRID: 1869253461379488320
X-GMAIL-MSGID: 1869253461379488320
|
| Series |
[Openvpn-devel,v6] Fix building wolfSSL with CMake
|
|
Commit Message
Gert Doering
June 28, 2026, 3:03 p.m. UTC
From: Arne Schwabe <arne@rfc2549.org> Change-Id: I355760e43c3e2da0dda0cdec6e4253c028cefe38 Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Frank Lichtenheld <frank@lichtenheld.com> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1604 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1604 This mail reflects revision 6 of this Change. Acked-by according to Gerrit (reflected above): Frank Lichtenheld <frank@lichtenheld.com>
Comments
CMake build system only, ACK from Frank, buildbot is happy with it
(= it does not break anything - we do not have WolfSSL buildbots
today to actually test this).
Your patch has been applied to the master branch.
commit 9e2f3843df1cdacffb20f7ca4e6aba6a784acb05
Author: Arne Schwabe
Date: Sun Jun 28 17:03:15 2026 +0200
Fix building wolfSSL with CMake
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1604
Message-Id: <20260628150320.13244-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg37342.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/CMakeLists.txt b/CMakeLists.txt index 715d02c..4779d69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -327,6 +327,7 @@ elseif (${WOLFSSL}) pkg_search_module(wolfssl wolfssl REQUIRED) target_link_libraries(${target} PUBLIC ${wolfssl_LINK_LIBRARIES}) + target_include_directories(${target} PRIVATE ${wolfssl_INCLUDE_DIRS}) target_include_directories(${target} PRIVATE ${wolfssl_INCLUDE_DIRS}/wolfssl) else () find_package(OpenSSL REQUIRED) @@ -367,6 +368,7 @@ elseif (${WOLFSSL}) set(ENABLE_CRYPTO_OPENSSL YES) set(ENABLE_CRYPTO_WOLFSSL YES) + set(EXTERNAL_OPTS_OPENVPN YES) else () set(ENABLE_CRYPTO_OPENSSL YES) endif () diff --git a/config.h.cmake.in b/config.h.cmake.in index ae1d264..34f289d 100644 --- a/config.h.cmake.in +++ b/config.h.cmake.in @@ -13,6 +13,7 @@ /* Use wolfSSL crypto library */ #cmakedefine ENABLE_CRYPTO_WOLFSSL +#cmakedefine EXTERNAL_OPTS_OPENVPN /* Enable shared data channel offload */ #cmakedefine ENABLE_DCO