From patchwork Thu Aug 20 10:12:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 5262 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:4319:b0:87d:ab56:3700 with SMTP id q25csp1624203mae; Thu, 20 Aug 2026 03:12:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AHgh+Rq3o4s30oA1zJYXJEu4f4e+VyGvuOut6D3imun0WGlj0BfMirX5xUX3b3NqOFEEQXyoZNcqhD/4/Zc=@openvpn.net X-Received: by 2002:a05:6830:651c:b0:7e6:8955:c52d with SMTP id 46e09a7af769-7f43f94dee6mr11909131a34.5.1787220762724; Thu, 20 Aug 2026 03:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1787220762; cv=none; d=google.com; s=arc-20260327; b=JTyCQIxH/vKYMP+HILVI6zqwsifWiHSRyIWPkwm9Qg4Tzz9qhPSP0RXrwcVi7VvfFN yVJweqO8Tz/uEefAm3z+k31IPpHkr4r3xZ5cEUI8s20a5phO8Zxi5vGKoHliHflLOTr7 3dcl5qdMY1OjQWtBpNYjEerNJjSVqxsiXbKkmIBk0PLkgA8f2wbwG9hu7pH74FRq7kiF DjoCNPshVkUxMYrvIGAMfM6PWAlcU6DHZXQDgEfxek+V2P4cwz3WBDhln+1sGA5gbJDd VMjoe193dxz/5rSh78KBNQBG924sW2hBHsjsGRISkBIZwdUsa/q9NGuZEWqZPh3f2WOm ySEQ== 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=vbeBxzqAepZIy+j3e0HePR/OYtk5S2NWJYviPAJaMQk=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=f+k51cj+rphSPw5+Llzesv9E6+mUxFbOoCWg/3l46EcFAn1VeKjGNIaSX80rkvblF9 s2JNle3x0kmZPjbq1I4vxhuSsQw8j/uIELx+x/4pOD+7xo5PydbEjVwLiLeXgj+UY0o2 uukPOxOMR7dmpN7RTMDhKT8cBF+5qsm2L2Tt0q9SehQEB49gAwJiPP8sKKqZvHxHlkeK f+sA2wicEf1epRxzQCyxqCUBvC13aEJdZq/80y1ImA0DFlg4wMSnJUl2cFl1NEuwppGB 5x3oawbs5jWou6PJTiK7LcmT9nYUHxriHpS5JbP9zEXGi57cFm+T3Yu7uF0sQoOIG/gK mQBg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=bkbKdgk+; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=OzJMRv2M; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=PQGBFICM; 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 46e09a7af769-7f44002fc02si10471526a34.90.2026.08.20.03.12.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2026 03:12:42 -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=bkbKdgk+; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=OzJMRv2M; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=PQGBFICM; 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=vbeBxzqAepZIy+j3e0HePR/OYtk5S2NWJYviPAJaMQk=; b=bkbKdgk+zFFtKLvStZWSPmE1UD 7oGWM5XBIkts5OysjiKoE2wlJOE0b+kWa2ev5JkCxDtykk0e93xF9anN9yGR506V019/lx4vYpQvg /UDd6m+sWiZ5+0emESsxuR8LxYwBNwd/27xiZnMGUtNtQJaaFjfWtSA9caaiwhP2go34=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wwzlH-00080l-47; Thu, 20 Aug 2026 10:12:36 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wwzlF-00080e-Hq for openvpn-devel@lists.sourceforge.net; Thu, 20 Aug 2026 10:12:35 +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=MdL+gSRTIIsxHz1mAu72q9pinRCL3fRXdMIUd0s0K4I=; b=OzJMRv2MLEzjjA/1A4BXSRBNU5 0sDiTza4HQOUoj/s1GBCyJUVNj3bKNCdZB0DzSM7j5u/JGV1xBlKqFolRmE7YdE50jHiSjXUG8hfa ghg8q6l1dQLPYD8bnlsTkB1Hw+FsfevBe8ByfasslBkKvnipPzBVpKhG7nx1vKon925k=; 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=MdL+gSRTIIsxHz1mAu72q9pinRCL3fRXdMIUd0s0K4I=; b=PQGBFICMOj9uV+8WL0yKeENof0 cpAmBcpdQYwJq4T7bkrphVJvjb0D6n3IlZGMNpVO6rYr2oig6vyBFTMN/alunQqApS9ONpkYrqqO6 DR1bNSgg/eNE6Cte7lfGvwt1AuaXKx9DwXnQkxBr2+CbRnq5r+BwJt8y9jKc90pGaQFA=; 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.95) id 1wwzlB-0004jh-76 for openvpn-devel@lists.sourceforge.net; Thu, 20 Aug 2026 10:12:34 +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 67KACQUB009598 for ; Thu, 20 Aug 2026 12:12:26 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 67KACQqj009597 for openvpn-devel@lists.sourceforge.net; Thu, 20 Aug 2026 12:12:26 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Thu, 20 Aug 2026 12:12:21 +0200 Message-ID: <20260820101226.9581-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.53.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 Convert to new KeepEmptyLines settings. This adds AtStartOfFile setting and applies it. Change-Id: Ibb80db0547dcc0935964c9bd40222c27aac80439 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: 1wwzlB-0004jh-76 Subject: [Openvpn-devel] [PATCH v2] .clang-format: Convert deprecated setting KeepEmptyLinesAtTheStartOfBlocks 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: 1874036798621433249 X-GMAIL-MSGID: 1874036798621433249 From: Frank Lichtenheld Convert to new KeepEmptyLines settings. This adds AtStartOfFile setting and applies it. Change-Id: Ibb80db0547dcc0935964c9bd40222c27aac80439 Signed-off-by: Frank Lichtenheld Acked-by: Razvan Cojocaru Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1848 --- 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/+/1848 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Razvan Cojocaru diff --git a/.clang-format b/.clang-format index 4774d1e..0823739 100644 --- a/.clang-format +++ b/.clang-format @@ -32,7 +32,10 @@ IndentWidth: '4' IndentWrappedFunctionNames: false InsertBraces: true -KeepEmptyLinesAtTheStartOfBlocks: false +KeepEmptyLines: + AtEndOfFile: false + AtStartOfBlock: false + AtStartOfFile: false MaxEmptyLinesToKeep: '2' PointerAlignment: Right ReflowComments: true diff --git a/src/openvpn/crypto_mbedtls.h b/src/openvpn/crypto_mbedtls.h index 04346a9..5c3b670 100644 --- a/src/openvpn/crypto_mbedtls.h +++ b/src/openvpn/crypto_mbedtls.h @@ -1,4 +1,3 @@ - /* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based diff --git a/src/openvpnserv/validate.h b/src/openvpnserv/validate.h index 12150f1..2da41dc 100644 --- a/src/openvpnserv/validate.h +++ b/src/openvpnserv/validate.h @@ -1,4 +1,3 @@ - /* * OpenVPN -- An application to securely tunnel IP networks * over a single TCP/UDP port, with support for SSL/TLS-based