From patchwork Thu Oct 29 14:31:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 5526 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:6022:3119:b0:118:2077:975e with SMTP id e25csp762528laa; Thu, 29 Oct 2026 07:31:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBwXjU57NimvFdfy4Yq9tzSTau7CqVkYt5Yhipv6wPSHOGAtyPXWQYZgrEwTBfD56WOfch8HQZgWCGc=@openvpn.net X-Received: by 2002:a05:6820:83dc:10b0:702:9fce:ae65 with SMTP id 006d021491bc7-713ed6c1bd7mr2961982eaf.31.1793284318629; Thu, 29 Oct 2026 07:31:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1793284318; cv=none; d=google.com; s=arc-20260327; b=QyctrV1AvAPgWper3zu+0WMkAig13NlZnre7JXjgZyMTmUhEIAG4jXmBq4lmY3mnxQ ujv1UFt1HfBXLEfxR8NyP1j0Mda5DS5OPjxqhNYeS2VSiYwc99T/1qU0gjbun8BXCsA4 21g0Wfcz7fMw4vZ1Yb/1Hdu43ATx220dJJXpdkUb3HOqg5fCRmXJELyA6tcgrSH5UX5P yk/QP8A6dcmTnoS8mYsWnzu0hhcJCQbdqovvW6uD2SGv6oca6WckdxHK77T3hgTxQZHw beaJadbpTowFBm5ds7j3rbRLqSIQxq017lnTEeSzkulmX27Yi7DiixsbOL5mPdbNYsbX zAOw== 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=W5GXOekMWRDHS4QndZsMYsiEqgN8EadO76nPqON2aZ8=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=LGO/yE6Ow0raEO1mj+nEELRx6hUEoOl6d2xJHoxH6eza1G0aWos0wX+srjdvk9LgE9 +yfaX9Eb8wkYgxZ+GCLi/NDzaHxUZ8lKNEUxBfOqA6OO5riYGcfJwE+rG/o+UZkxDo0h zIIJVDXK9CnGOMesij7WCcYM66g5s0bYe7y+cHXaZGNSrGSuOKvWgGeCdQHJsZdCHWMH lJ7XygRfRM8IGLHqvRWDUNllWIlgyRgr63YIhwghIte/7ECXaCTwQJepagJNDADjEUTU Xnkska7eqcyT6+it6VXk9wiFg+7k3lfNobIXrI+vNieg6ZQOyWpYqdg1FCsGzKJ7maSF eIyg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=RC2FjtJr; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=kYov7GQk; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=RggZewUI; 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-7142e5b5906si5885532eaf.73.2026.10.29.07.31.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Oct 2026 07:31:58 -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=RC2FjtJr; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=kYov7GQk; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=RggZewUI; 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=W5GXOekMWRDHS4QndZsMYsiEqgN8EadO76nPqON2aZ8=; b=RC2FjtJromXhSQ KUMMRxVXUBNtmcUsV+ZwY/0Tz5TmB0DAaxmN2PLQzf0rDG5SGLlAyBuf3C1m3GEoazcbQW30MKgJ5 xs6eZhdFiuwCJpydWEx3u0S5C2xDCJ6F2zQIlqxHXV5UZ8h4iyEd/bmWXAElbJPYeH8E+ZL3xBGBH lSE=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xMRAZ-000000007F6-0POJ; Thu, 29 Oct 2026 14:31:55 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xMRAY-000000007Ev-0q57 for openvpn-devel@lists.sourceforge.net; Thu, 29 Oct 2026 14:31:54 +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=cRkErXX0lj6ZYYDVueBcNd+Dke67GwRbPLqEqFnHP/0=; b=kYov7GQkoehfTmh+Jek43H2T4W AFEPEZuNEMJDEtZ6+zdZ5hZxvTFokHhHzFd1sX7UhfVCgwXXOIGNprNm9WxdkrzSPQDgEsLgG+Elt UN8REDTW1J2XXcGPxedsWyUeUuP7ZZdQn4j+M1YOlNJNN+aBhMUILmino8WilD6kFqZ0=; 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=cRkErXX0lj6ZYYDVueBcNd+Dke67GwRbPLqEqFnHP/0=; b=RggZewUI1t/BJHdAUSFEqtmXTq G0/WvBMmDqaRdO9llcO1uCvES3tWQVDIqz5oKSQbn8V+h9IHJHhetR8uYrnM1rJgaSZP0om9SiuOa YsQ1Tq7vTI2hVKjNiookW/S8EUdyV1jAqRDqEyZnTgHcXxvq60kzorvFLYgYGzrOTFsw=; 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.100.1) id 1xMRAV-000000004WW-1ORo for openvpn-devel@lists.sourceforge.net; Thu, 29 Oct 2026 14:31:54 +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 69TEVhkJ019650 for ; Thu, 29 Oct 2026 15:31:43 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 69TEVhXo019649 for openvpn-devel@lists.sourceforge.net; Thu, 29 Oct 2026 15:31:43 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Thu, 29 Oct 2026 15:31:37 +0100 Message-ID: <20261029143143.19636-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 With --disable-management it complains "variable 'mgmt_callback_called' set but not used [-Werror, -Wunused-but-set-global]". Change-Id: If33596abef4e97aa9b58f12cd866a5cded17fd4f Signed-off-by: Frank Lichtenheld Acked-by: Razvan Cojocaru Gerrit URL: https://gerrit.openvpn.net/c/o [...] 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: 1xMRAV-000000004WW-1ORo Subject: [Openvpn-devel] [PATCH v1] test_provider: Fix compiler warning with clang 23 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: 1880394897378396247 X-GMAIL-MSGID: 1880394897378396247 From: Frank Lichtenheld With --disable-management it complains "variable 'mgmt_callback_called' set but not used [-Werror,-Wunused-but-set-global]". Change-Id: If33596abef4e97aa9b58f12cd866a5cded17fd4f Signed-off-by: Frank Lichtenheld Acked-by: Razvan Cojocaru Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2070 --- 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/+/2070 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Razvan Cojocaru diff --git a/tests/unit_tests/openvpn/test_provider.c b/tests/unit_tests/openvpn/test_provider.c index e5562ee..5d31da3 100644 --- a/tests/unit_tests/openvpn/test_provider.c +++ b/tests/unit_tests/openvpn/test_provider.c @@ -42,7 +42,9 @@ #include "test_common.h" struct management *management; /* global */ +#ifdef ENABLE_MANAGEMENT static int mgmt_callback_called; +#endif #ifndef _countof #define _countof(x) sizeof((x)) / sizeof(*(x)) @@ -156,8 +158,9 @@ char *out = NULL; /* indicate entry to the callback */ +#ifdef ENABLE_MANAGEMENT mgmt_callback_called = 1; - +#endif const char *expected_tbs = test_digest_b64; if (strstr(algorithm, "data=message")) {