From patchwork Fri Feb 3 19:14:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lichtenheld X-Patchwork-Id: 7 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7300:c95:b0:82:e4b3:40a0 with SMTP id p21csp1375695dyk; Fri, 3 Feb 2023 11:15:21 -0800 (PST) X-Google-Smtp-Source: AK7set+6vb/jXF3NeCMzZvOktgxOUbPe/7tlflaBmawS39uw4R0OoQyEABM5k+n2iTPvX965w+qs X-Received: by 2002:a17:902:dac5:b0:196:2c09:8726 with SMTP id q5-20020a170902dac500b001962c098726mr14680396plx.17.1675451721630; Fri, 03 Feb 2023 11:15:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675451721; cv=none; d=google.com; s=arc-20160816; b=zhA5Gs8EfcU0k5pr7h1oSsADiA+CCwDmqv1ssGLUZljypPQIUcUKoDfHi/IzMjRCJ1 qnnx2SLxJGQjKELXJKdGX8k7i/Pu0Pbw4k/BQt8tr8+XIDLhPYBLJWMrXmweKWflCnyn VoUO3KDuqc9Hijp7X/tI9v89v9ZouLk0O82KF4LZmCL+GB4wWhX433V3I0wo9cqv5aZG VQl92o+ItE79KKWuftWLyddXGzKhexYk72hcc3rufnYRB1AWY5rXYMOUTRv8IZ78Gpze VP8mv+rRTyPdKg3cFWcHg5X/DnHoipky/NVR2rKovrKmiAMocQD+s4VFNwgiokgsIzvx VCJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:dkim-signature; bh=eBg1D2SdAZjwrZr5Y7ugWn1gbeZeA86GHSqySourgts=; b=wq0nk+/N/faRrJq95juhWY8qfJCRmDuL9dyQuxg82xxnN14EayV9seECQ81l7Obl0Y 3PTqurYOSstxfwVHvBrPkukzfPsEsFCLgdinCjrs3zlPF3BHITJMzm4Y56B+NsPiYj1h Poez1E5Bk4Cfxbivsqhlkftc/CMEOC8h5uqqaNVl9ABXbmRnL3HQModwaxtTJg4KLiIO Raa5vJ2Oa7Gh6XI+0wN/RhUa9vfrQGNm66QVA5XRUC5v6NIM2KmtXGTDMJIQfhIgcToQ j/2O+VBbDVKl+fOKEKnaghunVESRhhR05pcGUaomyfTmOM+6AoWEgMLMZ2maI1/Ps5fv 2/Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=F6ExDiqE; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b="aoIVa/Uo"; 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 Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id a12-20020a170902eccc00b0019616617fd1si3414041plh.434.2023.02.03.11.15.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2023 11:15:21 -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=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=F6ExDiqE; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b="aoIVa/Uo"; 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 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 1pO1WW-0007qx-T4; Fri, 03 Feb 2023 19:15:00 +0000 Received: from [172.30.20.202] (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 1pO1WV-0007ql-9c for openvpn-devel@lists.sourceforge.net; Fri, 03 Feb 2023 19:14:58 +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: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KZAP84UBF4kTWdHQz9+Wl7wi+bHfL840vYq9M9+stLA=; b=F6ExDiqEjTnkhiUXxBrQ9htdzG g6keMVKD6xcF8JS7x1kUwXTjM57i4BZaER/t9VmGIBHJr+/w71JIEuPuT9R7PZfkn+zcmsq29PhHu K7Y4Ty/z961pC81ctYgie19izpBZtzywkRYoTxBnWA0Nv/nSMT1WCg+mM3+B9pXTpiQY=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=KZAP84UBF4kTWdHQz9+Wl7wi+bHfL840vYq9M9+stLA=; b=a oIVa/UoTak6HccVfpyf8LOEu0ipIIqQQq36z3FuP5tzXBHXzAUTtvUqia/WAO6OhNRDvUXKZK58C0 kLzmwcvFYqFThaVCg24j6n6OpqWR5pUf+Daj8klak0TuOS84Ct+A4A1ZKUDAo1+H8bGOqSBTNotc0 WC6JZl3eQo9q7eC0=; Received: from mout-p-202.mailbox.org ([80.241.56.172]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1pO1WO-000158-Kz for openvpn-devel@lists.sourceforge.net; Fri, 03 Feb 2023 19:14:57 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4P7lhd4R3sz9sxC for ; Fri, 3 Feb 2023 20:14:41 +0100 (CET) From: Frank Lichtenheld To: openvpn-devel@lists.sourceforge.net Date: Fri, 3 Feb 2023 20:14:35 +0100 Message-Id: <20230203191440.136050-1-frank@lichtenheld.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4P7lhd4R3sz9sxC X-Spam-Score: -0.7 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", 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: Since I needed to test mingw builds today, I took a look into the warnings reported. Most of those patches are trivial and straightforward. Not 100% sure whether the recv/send one is a good idea. Frank Lichtenheld (5): Windows: fix unused function setenv_foreign_option Windows: fix unused variables in delete_route_ipv6 Windows: fix wrong printf format in x_check_status Windows: fix unused vari [...] Content analysis details: (-0.7 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.172 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-Headers-End: 1pO1WO-000158-Kz Subject: [Openvpn-devel] [PATCH 0/5] Allow mingw builds with -Werror 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?1756838464231722019?= X-GMAIL-MSGID: =?utf-8?q?1756838464231722019?= Since I needed to test mingw builds today, I took a look into the warnings reported. Most of those patches are trivial and straightforward. Not 100% sure whether the recv/send one is a good idea. Frank Lichtenheld (5): Windows: fix unused function setenv_foreign_option Windows: fix unused variables in delete_route_ipv6 Windows: fix wrong printf format in x_check_status Windows: fix unused variable in win32_get_arch Windows: fix signedness errors with recv/send src/openvpn/error.c | 4 ++-- src/openvpn/manage.c | 4 ++-- src/openvpn/options.c | 2 ++ src/openvpn/proxy.c | 2 +- src/openvpn/route.c | 32 ++++++++++++++++---------------- src/openvpn/syshead.h | 2 ++ src/openvpn/win32.c | 7 +++---- 7 files changed, 28 insertions(+), 25 deletions(-)