From patchwork Mon Jan 26 14:55:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4734 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:8468:b0:80a:3855:ce6a with SMTP id u8csp1383619max; Mon, 26 Jan 2026 06:56:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVxWS8riJ1nHz8wGmKk8Pu97s2HRdzrwI62HQkwIZH4DmmEtoMAFsFZjWsnGvNPPU1Mkn2hlzlokrQ=@openvpn.net X-Received: by 2002:a05:6820:4811:b0:65c:fa23:2d04 with SMTP id 006d021491bc7-662e02ddf97mr1435735eaf.13.1769439376345; Mon, 26 Jan 2026 06:56:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769439376; cv=none; d=google.com; s=arc-20240605; b=dg0GUGl0JhU3cgjT/czDiVghG+JqDbuRZr4Sj7RlEvu4KM91eQBL0MwMtcbP3SNxxX Nj2u6ChDHyB320PMQxTNSOwpcg2Rl2IF1WGbfcnR7GgGRE1EtB28UQKzMH2+hZzpZmJD Wfl0rXq8dgfKamV3UT0RQYyay/KIWJAPDuccE7su/oLN/siV1p/HmX+/EbZ9tsFn7n/1 Xxgqj9kDvIyU7g+05fcZRaxiiKJESqZpZY29aCnfLaIsd5l+W9hzqI28AO8s0OLeIuZt oKSk15W6lUGx0vbrmbY6T490FzD8jylgVf5W13UtqrDZ8r7GBvrHgIWjQGJWH06cmE75 iCfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=72gTgO8TUqdkv7W67Yh3F4RpTT9eZdsBLGftq9WzhQk=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=XM+WCXTtRBbm6eTVwSRJVnXjlYfelXq/BO1zjxP2P0Oqwssl7qQJ+9A5Id8rZy5klt zDyIK96waTKvAnm+wm07HC2ZX5HTHCauAQ4lDZgzqr60GonJL1pxM7p4pjdFrK66K03Q dfk33jWdJJp8CxBgSMksY+y1wcgN/xIvtNpae4lgcCvpx4VZVkr6V+6jXGa39Xn8upHa z9IY1BbebrvmDLDpxYyeuFM1EeD1qh6cB7uiQINxXQRHsiwacxAf7SqumnkIve5Ua3GC sp8osMs963AfHH9pAGCC50CBMDTN8ew2atLMfxpUS+AyRcxIWFuKXr8LObnoiTKR7xF6 nBrA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b="fd/VxjEs"; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=dAWzxhBY; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=hn9FeOn1; 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 006d021491bc7-662cb4eff9fsi6024732eaf.22.2026.01.26.06.56.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jan 2026 06:56:16 -0800 (PST) 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="fd/VxjEs"; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=dAWzxhBY; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=hn9FeOn1; 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=72gTgO8TUqdkv7W67Yh3F4RpTT9eZdsBLGftq9WzhQk=; b=fd/VxjEsE+D0drSUxiMl3dJWdC 9hRZqf74RgMG6bJlJNXJpVgF0GBKfgrlduZMsNH6ZJCTFWudkoIchAlI4QNiidQajPH0x2AwHPglp rPHm61sXIzoLbgmpEMfQoYSGjlAWgK6ezTKR2SO7R6dw3mEjOPIAixZwey1Nl5UmNM54=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vkO0j-0005hZ-Fi; Mon, 26 Jan 2026 14:56:13 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vkO0i-0005hQ-98 for openvpn-devel@lists.sourceforge.net; Mon, 26 Jan 2026 14:56:12 +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=+QMXdM5EAGr5r8iZyGT9fChevLeE7Akb+dZl3YSb2Uo=; b=dAWzxhBYJb+XCXY9AXfRn+DFwZ BvTsIMgZyyJCgXcrF/dJjQVwsMLEjH4+FjukNqCvPMcumrG26YcD6kHZUW0tlLsGQ9sPYPwLYaXsg 0tK9GUfATTFCNNiLIWCmG6sjxj8VTEVowXa7iU4I80Tc6kIyhR11VIkMK/Gwkh4xFcaA=; 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=+QMXdM5EAGr5r8iZyGT9fChevLeE7Akb+dZl3YSb2Uo=; b=hn9FeOn1SH75MN6mbo3dvYETvn cv4+AOyAtD/D+aL7gSEsRsVF2VEx5ovo9XtfgocBfzfuDVpPDmycy3r7HXz6NfneOs+kc190XKnUM osk/St+gcyWJUdJkm3d57Nir7zyFcHXWL8YQLxQdQFCm2FvBD7zvScPgcBHpMxQbMkOQ=; Received: from [193.149.48.134] (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 1vkO0g-0001hN-Vt for openvpn-devel@lists.sourceforge.net; Mon, 26 Jan 2026 14:56:12 +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 60QEtx4N031475 for ; Mon, 26 Jan 2026 15:55:59 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.1/8.18.1/Submit) id 60QEtxi2031474 for openvpn-devel@lists.sourceforge.net; Mon, 26 Jan 2026 15:55:59 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Mon, 26 Jan 2026 15:55:53 +0100 Message-ID: <20260126145558.31460-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.51.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-2.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: Frank Lichtenheld Otherwise the check for cmocka version doesn't work. Includes the update to vcpkg in GHA since that exposed the problem. chore(deps): update vcpkg digest to 6d332a0 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: 1vkO0g-0001hN-Vt Subject: [Openvpn-devel] [PATCH v2] test_openvpnserv: Make sure to include config.h X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1855391663330581236?= X-GMAIL-MSGID: =?utf-8?q?1855391663330581236?= From: Frank Lichtenheld Otherwise the check for cmocka version doesn't work. Includes the update to vcpkg in GHA since that exposed the problem. chore(deps): update vcpkg digest to 6d332a0 Change-Id: I3b246bcc36ba35c2ed9630dc18e97aff436eaa0b Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1488 --- 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/+/1488 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f5d624..7d1574c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,7 +49,7 @@ - name: Install vcpkg uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 with: - vcpkgGitCommitId: eeb00f1ecba68f68fad6a1ee93eec77921b3146e + vcpkgGitCommitId: 6d332a018c433fad20822ff4b536e4ccdc3413bd - name: Install dependencies run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmocka - name: configure OpenVPN with cmake @@ -84,7 +84,7 @@ - name: Restore from cache and install vcpkg uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 with: - vcpkgGitCommitId: eeb00f1ecba68f68fad6a1ee93eec77921b3146e + vcpkgGitCommitId: 6d332a018c433fad20822ff4b536e4ccdc3413bd vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest @@ -274,7 +274,7 @@ - name: Restore artifacts, or setup vcpkg (do not install any package) uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 with: - vcpkgGitCommitId: eeb00f1ecba68f68fad6a1ee93eec77921b3146e + vcpkgGitCommitId: 6d332a018c433fad20822ff4b536e4ccdc3413bd vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) diff --git a/tests/unit_tests/openvpnserv/test_openvpnserv.c b/tests/unit_tests/openvpnserv/test_openvpnserv.c index 348de4f..45096a1 100644 --- a/tests/unit_tests/openvpnserv/test_openvpnserv.c +++ b/tests/unit_tests/openvpnserv/test_openvpnserv.c @@ -21,6 +21,10 @@ * with this program; if not, see . */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "test_common.h"