From patchwork Tue Feb 10 15:16:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4752 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:9188:b0:80a:3855:ce6a with SMTP id j8csp2439263maf; Tue, 10 Feb 2026 07:16:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCURTjZsy/ysVKtyqcrREtV4SEL2akSW9d3LnVK3/WHnpCpxF7u0+7SwRLu/uwbrQ0jpOWPBkszDJ70=@openvpn.net X-Received: by 2002:a05:6870:2418:b0:3f6:207d:1b74 with SMTP id 586e51a60fabf-40a9750f24amr7917192fac.25.1770736618106; Tue, 10 Feb 2026 07:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770736618; cv=none; d=google.com; s=arc-20240605; b=e2QRLEditdJ7x1U9GIwBboI+AK6g8NaLSI/QNAnXGWPoWkmjOIGfG6n0cYuld0YXtH TxdYwqYHBoVZ/oc+JwDIddDbVt3VnJX6c7yNSqiuFfrpL5DsFCRKrD5iWdOjWwpv3AcZ O+Du2aiHBcIhQcb60HtvNzIi7CEVg3L/3SZ0xj1Dt4G5jOYjm/+HV02Vl5aHcvtWQbTM bncfiePXbLqTMdfvDPKL2iaO/GNnR0tiArXleGhi5WR4FSHxwWt37pZjeSLgurm17cni /GEtj5103lRb1HuQe1Ny6Xf5CYJ+cacORzozw3o2TRahDUq7N1KSPhW5O3Q+rJkpqNWm 10qw== 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=AyqF0R6cu845+X6yfxn8zt/zM+fxEIn3/M9k7CitVL4=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=BHioM1Y4417KZVQbRBmPSL6DZGjtbGQFLdi+n1B+I3JJVZ8+J6xGPHD0vkYbSXzujg G5hmvM9Z5zHPgC/g91vZy/B7pd2rDp4KF4Aw65MugE3KX2/BH2CQUnGHekUqBkvllSrH KQpLw0hGIt9/oxR0clM5Nn1qEHVbTLD99sH0hZfbOSN/vPUkZdO8s8XBP6orjAK73nEo cqOfgW18kaWobHtdLhAiL4F4l5j/DT1UaNBGIWTTtEBn7GASd96bRv23hZn4RcyLqkSV T8lZKkFcv69Wx/jqMdrDa4hxTrmGwiezVG0ktv3WHjjH5+qwL8au4nVXmkzxwzZAiEns 4Ipg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=O1KjhpAJ; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="kj/ur64h"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=eQBQV1fd; 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-40a992e17cbsi9907901fac.42.2026.02.10.07.16.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2026 07:16:57 -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=O1KjhpAJ; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="kj/ur64h"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=eQBQV1fd; 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=AyqF0R6cu845+X6yfxn8zt/zM+fxEIn3/M9k7CitVL4=; b=O1KjhpAJ1AzBOvHiQeYPbb58r7 Q/Uk8YXNM10gU2EPadq/4adjQ0exO80vgUMp+GSt5wNJ7UPc3qrRMlplKo/FfGHrToqfNc5aiqcg+ /ZIa1WSII3cjNr8qinppwoFzveheTTugw3A9ySc+6eD1vrtG5Y5GgavhErpJCmdEqJAc=; 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 ) id 1vppTx-0006Fg-PY; Tue, 10 Feb 2026 15:16:53 +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 ) id 1vppTx-0006Fa-2B for openvpn-devel@lists.sourceforge.net; Tue, 10 Feb 2026 15:16:53 +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=0Hd3EBTqcjhsTO+H7wQbwmeNaOvcCKrsvSeDmMwmHhQ=; b=kj/ur64hRrGFOyY3wS0VDD08M2 CzrFN9U0zMNvTWAYksnXkSQ8sxF23p+sMCKUGM1cL4BcsDLZyMVfKu+D50ymf21g4dAS/7NxTAiYN TlFWzWQLQjjhq/LRsnm2er9dcSR+JxZ6q1muggHCcY8LRnToZtkVG6GGVIVZN9PceVGY=; 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=0Hd3EBTqcjhsTO+H7wQbwmeNaOvcCKrsvSeDmMwmHhQ=; b=eQBQV1fdBZXMtw2IKaE1kHdQzO goNTjMP1hGBVuodk9A9WsBzebGiqje7cq69F+yfFLQ3kkaTYbEuZi9bfMxeWLyDOXGxE096CqVgnI bsa7ZHynF5EoonVBASra9LD6SEizvw1kSKJ/xoOULQS2ztX65OKyRxBPCbxDY7E0nTsw=; 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 1vppTv-0005gr-F1 for openvpn-devel@lists.sourceforge.net; Tue, 10 Feb 2026 15:16:53 +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 61AFGdw9000933 for ; Tue, 10 Feb 2026 16:16:39 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.1/8.18.1/Submit) id 61AFGdg7000928 for openvpn-devel@lists.sourceforge.net; Tue, 10 Feb 2026 16:16:39 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Tue, 10 Feb 2026 16:16:31 +0100 Message-ID: <20260210151639.913-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.52.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-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: Frank Lichtenheld Latest v21.x version. Changes a few file in Windows specific code due to bug fixes. Change-Id: Iaf0d8f528211f1971f163a8006b054efb4917e2a Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/open [...] 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: 1vppTv-0005gr-F1 Subject: [Openvpn-devel] [PATCH v1] Update the clang-format reference version to 21.1.8 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?1856751920182899192?= X-GMAIL-MSGID: =?utf-8?q?1856751920182899192?= From: Frank Lichtenheld Latest v21.x version. Changes a few file in Windows specific code due to bug fixes. Change-Id: Iaf0d8f528211f1971f163a8006b054efb4917e2a Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1514 --- 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/+/1514 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1bca47..5fd5465 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/mirrors-clang-format - rev: 'v20.1.0' + rev: 'v21.1.8' hooks: - id: clang-format files: \.[ch]$ diff --git a/src/openvpnmsica/openvpnmsica.c b/src/openvpnmsica/openvpnmsica.c index b5d8cd2..a145b64 100644 --- a/src/openvpnmsica/openvpnmsica.c +++ b/src/openvpnmsica/openvpnmsica.c @@ -308,7 +308,8 @@ } -UINT __stdcall FindSystemInfo(_In_ MSIHANDLE hInstall) +UINT __stdcall +FindSystemInfo(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -335,7 +336,8 @@ } -UINT __stdcall CloseOpenVPNGUI(_In_ MSIHANDLE hInstall) +UINT __stdcall +CloseOpenVPNGUI(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -359,7 +361,8 @@ } -UINT __stdcall StartOpenVPNGUI(_In_ MSIHANDLE hInstall) +UINT __stdcall +StartOpenVPNGUI(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -620,7 +623,8 @@ } -UINT __stdcall EvaluateTUNTAPAdapters(_In_ MSIHANDLE hInstall) +UINT __stdcall +EvaluateTUNTAPAdapters(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -963,7 +967,8 @@ } } -UINT __stdcall ProcessDeferredAction(_In_ MSIHANDLE hInstall) +UINT __stdcall +ProcessDeferredAction(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) @@ -1166,7 +1171,8 @@ return uiResult; } -UINT __stdcall CheckAndScheduleReboot(_In_ MSIHANDLE hInstall) +UINT __stdcall +CheckAndScheduleReboot(_In_ MSIHANDLE hInstall) { #ifdef DLLEXP_EXPORT #pragma comment(linker, DLLEXP_EXPORT) diff --git a/src/tapctl/main.c b/src/tapctl/main.c index 6bb4119..1d047dd 100644 --- a/src/tapctl/main.c +++ b/src/tapctl/main.c @@ -609,7 +609,8 @@ /** * Program entry point */ -int __cdecl wmain(int argc, LPCWSTR argv[]) +int __cdecl +wmain(int argc, LPCWSTR argv[]) { int iResult; BOOL bRebootRequired = FALSE;