From patchwork Thu Dec 3 14:20:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 5841 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:6022:311b:b0:11b:d6c:f273 with SMTP id e27csp145348laa; Thu, 3 Dec 2026 06:20:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErFNtAW2itZusJyCeXLCJZhH+fp7jhsfKN2RExAzFq5g78vuRC6OfvGOIb9mueCFRqSHXQCoco8W/tY=@openvpn.net X-Received: by 2002:a05:7300:1486:b0:369:d8e1:7bb6 with SMTP id 5a478bee46e88-38570e24c35mr59043292eec.25.1796307629906; Thu, 03 Dec 2026 06:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1796307629; cv=none; d=google.com; s=arc-20260327; b=aZtHb1eIn7uYFHx6YOkHVYyscc1cSgOsT4kjFhwo7KYlhZe1L0jx5Pneb73sgQdHMs ZBy5Si8SOqU7aN/+DOVYrKyiiocHQXfB4B3ZeXaE1zxr4am6ZriXNqRRFwmOyc7dI7qk 85SfUbQJZ+eldez/YPpyqx8NbOrs2F5korry1k25Yk0dJxkg26YgF5lE7eg6zEPvH4P+ zqazWb1CZsIKGEKAcvxUwMMY0B0uahT0NThiDEJGlK5hAfbWm5g0Sb3zMxEbiseRu2UC JgtPqGolqGe/v2QHxX10Xy8UihQ8PwSCoBBia4tmOZURKmdLVmZwwImkfkESgzBeEDBk 2gAw== 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=so/2aGFibHIAcdFOb0Tt9ZWfDrwwAFTm+eAjJ0zyz04=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=NfoGjFByMDDYGP7Te/imYhSu2tfBWOPRNtMYX5iQzgx3fcC7EvE/lCfn13+ZPF1THi 00046NImBlcatYcllIpLcBb6sQff+vl4kZSV4k1hSnOWaHdUtnM2OPz8pz3yXqKZetz6 Ii67qKeSG+Gq2X6KPJWN6I+KyRwYlayU/zTsjHwQO+oUbeLK3zmBbcCxyo6HD/sry1Mn PnKu/YAG6Fd/AsXQT5/aFpxaGGOpCFUfA3lHQFFU15Od3O6Q9LLYWC796fPTEsc6/kGB BLITb+czLmu6+MkZ0DdtgXCshj9Xg+eqVFAIZ5Lc7TenDYlGMGI83j68daNNhpBb1g48 b7Aw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=WDnxbSaQ; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=EbTJvMxU; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=ZtQD73S4; 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 5a478bee46e88-3869f628b2asi93932235eec.51.2026.12.03.06.20.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Dec 2026 06:20:29 -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=WDnxbSaQ; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=EbTJvMxU; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=ZtQD73S4; 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-Unsubscribe-Post: List-Owner; bh=so/2aGFibHIAcdFOb0Tt9ZWfDrwwAFTm+eAjJ0zyz04=; b=WDnxbSaQbXb8Z6 hroFjAsbQs05cFp4phGCiZMnTTodhydfeDG5qbjr5ezTf8PLwDz472qjqpT7HwzjvCRu1Bz70HUQT ZDOjajtYHXS6ovkNuZtuCoXdD6c4WlWPtOx+UTEAEtLaVCp/pvFmBmbS/0HCUUHVL2JjcZdeSVp6p Vn4=; 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.100.1) (envelope-from ) id 1xZ7ff-000000007Ka-2OfS; Thu, 03 Dec 2026 14:20:27 +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.100.1) (envelope-from ) id 1xZ7fe-000000007KU-2tvJ for openvpn-devel@lists.sourceforge.net; Thu, 03 Dec 2026 14:20:26 +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-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BSMxC++Orucjxkvb43Hn75H1sNs413GeR01TO+WIsa4=; b=EbTJvMxU15w5NLlHHN19mHl2hw 8W5MeTGiscZST7X7+/mJ3xhozG0obs4nXRGtSk3iNfN9BZrMmSgNKTxPXvqK/aR7VK0S/1BVB++1l i5QUleLJ2c4OYH3PosdUTskfCeNSshPUQBiWP11EqGfygSeLaiexnE5O0xsPa1P1mQfY=; 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-Unsubscribe-Post: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BSMxC++Orucjxkvb43Hn75H1sNs413GeR01TO+WIsa4=; b=ZtQD73S4C2DK9fHwXoGYgPIzCk 5Oaos3/yexVKsdNobw0tqRoQBwfVuCf/5Zv7r0AbDSGH1GS1YpqnhT7v+oaMOdweD2XrNOvmdNyAm DjvxpWHNeGM5l+NjBIZtqFiY6V8ttMQVvU9dVS63rzdG5n4qou/TOIXAoiaxkZF4wL9o=; Received: from [193.149.48.129] (helo=blue.greenie.muc.de) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZ7fc-000000003II-3c6R for openvpn-devel@lists.sourceforge.net; Thu, 03 Dec 2026 14:20:26 +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 6B3EKIs5000613 for ; Thu, 3 Dec 2026 15:20:18 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 6B3EKIpj000612 for openvpn-devel@lists.sourceforge.net; Thu, 3 Dec 2026 15:20:18 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Thu, 3 Dec 2026 15:20:13 +0100 Message-ID: <20261203142017.602-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.55.0 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 As seen in Fedora Rawhide builds. - mock_assert type for line argument changed, make sure we avoid sign conversion errors. - fail_msg doesn't seem to work without and VA_ARGS anymore. This might or might not be a bug (the documentatio [...] 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: 1xZ7fc-000000003II-3c6R Subject: [Openvpn-devel] [PATCH v4] unit_tests: Fix build with CMocka 2.0.3 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: 1883565069221616399 X-GMAIL-MSGID: 1883565069221616399 From: Frank Lichtenheld As seen in Fedora Rawhide builds. - mock_assert type for line argument changed, make sure we avoid sign conversion errors. - fail_msg doesn't seem to work without and VA_ARGS anymore. This might or might not be a bug (the documentation hasn't changed, but work around it either way). Change-Id: Ifaebb8f5e7245c505a29c87f917f92bf16fa8027 Signed-off-by: Frank Lichtenheld Acked-by: Razvan Cojocaru Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2394 --- 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/+/2394 This mail reflects revision 4 of this Change. Acked-by according to Gerrit (reflected above): Razvan Cojocaru diff --git a/dev-tools/openvpn-cppcheck-library.cfg b/dev-tools/openvpn-cppcheck-library.cfg index 37195d8..9ea9b80 100644 --- a/dev-tools/openvpn-cppcheck-library.cfg +++ b/dev-tools/openvpn-cppcheck-library.cfg @@ -32,6 +32,7 @@ +