From patchwork Fri Dec 8 17:35:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lichtenheld X-Patchwork-Id: 3515 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7300:8d12:b0:fc:24ac:f0cb with SMTP id i18csp3748932dys; Fri, 8 Dec 2023 09:36:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbyWMcj87IWeZcO9P99VNWkV0GeMIzENNhmhU/HVNSsNsYI63BYp4E82LBkWyC5PC/S5cK X-Received: by 2002:aa7:888b:0:b0:6bc:67ca:671d with SMTP id z11-20020aa7888b000000b006bc67ca671dmr819088pfe.1.1702056997112; Fri, 08 Dec 2023 09:36:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702056997; cv=none; d=google.com; s=arc-20160816; b=EiLS9yU3mvSLMBQSh/c1FPl1wk74+boai04RLbkSojJKFURrj13vIhgLyqAX2viy0C zEVs+pFIjZ6yNIcB97ldy863U5a96TZ/VOgXd8ZgLdKz1A0fNdpaC0E2T2jJK4+5PcEU BmJM0qZBRDNsif1GHjg4nGW7tW5kjD5AI1Aq/hI4MCNPcDKaKlnmISfOC2LeAZlFSL3d +BrU08xBBq0AuThgSIguwAAdtHeZCXvmhqTzUQJ0klqFHKAJZYFeY6Bh2mWmj+sluVk8 ib97z+qwPgzckGgxKVV7Ff03siO26Q3KE/YwJCpK+ISe+o+NYaxCy9SKZB6m00JP50qS c+4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:cc: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=bYMrH0CbnmqcE3R0rCgEMoKY8oJISjXHSKkgkRZyl08=; fh=CfxSpwd5kfiMJoL3kcov7PTxVKT7pGe/79idnx9XlBs=; b=md219pkO2F4PQmsLlsDq7JH545fd+LTIviaeEi8HFImEZomhsG1YizSZowQGge39u+ mQ6dVJ6RapK1ZYyJbM2s/n2w1Dn/bhCqu3not+Rpjt8Uall/X7bAImwfAju2QFW0WJ98 hy5BzhRlXJK1PaHxCPZTxvXsh2N6Q2Gcjp1wVuYkTQBJDOCOaCdgBxEMoaJZorFH5KXr kYUSZa2tCBVoeuVV+WD7JGHyk7rEqEBJw3UapnaObCPYNotfvqiEsDcbnCQPLRxVz0bK eVXhdfm86r1N29veNIc+tILtkA5VU7HNvsxe6RJHUu88vgiQ2rHeQLNeSCMApQqVi3Qh a10Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=fH4S98CV; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=gu58wPm4; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=kx3iHxra; 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 fd3-20020a056a002e8300b006cddc634540si1854734pfb.25.2023.12.08.09.36.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2023 09:36:37 -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=fH4S98CV; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=gu58wPm4; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=kx3iHxra; 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-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1rBelT-0005lv-22; Fri, 08 Dec 2023 17:35:51 +0000 Received: from [172.30.20.202] (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.95) (envelope-from ) id 1rBelQ-0005ll-4X for openvpn-devel@lists.sourceforge.net; Fri, 08 Dec 2023 17:35:48 +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:Cc:To:From:Sender:Reply-To: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=MArSc1Tsd1RTpYRtyiAAN3xDuAmei9jMy/boqSDtvA8=; b=fH4S98CVGCLQHnV+vI5pJqwl10 Vo+yQt+fTfDbrwVu3QrBm7oMLzP1GMkhU45hYPTiomcTpAX657K90AMMBr9rIRYXBXv7vvmNBeEm4 GyjKx/xV/kSlZ36R7ej9m2F83eataFFQ0MTJESl+8+JTyvDdkvX3hGT9rWjwl7Y86gAs=; 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:Cc:To:From:Sender:Reply-To: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=MArSc1Tsd1RTpYRtyiAAN3xDuAmei9jMy/boqSDtvA8=; b=gu58wPm4iL7gKUoQME4SrBKwdr txCU0D/+BCDiRvskEp5CUgHrKxSQUuom+R1ntWv9kMSGhr+aV0y/ZsXjFt+sYALE647L9FxqmauVp fJuoQOzGFU+agVmBkUs3tO6WW++/ESEM33J8Awo0swQRCVhUFaOmnqKdv0zY//b9n9kA=; Received: from mout-p-101.mailbox.org ([80.241.56.151]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1rBelL-0002jx-St for openvpn-devel@lists.sourceforge.net; Fri, 08 Dec 2023 17:35:47 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Smyw22l68z9snP; Fri, 8 Dec 2023 18:35:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lichtenheld.com; s=MBO0001; t=1702056930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MArSc1Tsd1RTpYRtyiAAN3xDuAmei9jMy/boqSDtvA8=; b=kx3iHxrabqS0jciNIUe+nc2su05ke2sDbUwgoRaTc9d44WoIFkX+AZ67TAVIDZvXQ61GCt NEYNWoZSHd9TcP2pxlBqcuCN5VpVAZlD8Vo10XQExuXn1/cf8tPIaJfgKwBKHbURJiGGLi /NXi6cpDJLpMUngwEjM8NLxfJkvUpNAk1H4ETW+UfNpm+twwQwKIMZAfqHsL3pqEf5RcMb Sc1aVgABZklIQgQ1ISwORAtk/OvCJPNSNl8ize03/XmC1RLnj+83N9W8kRWUjP5qDCjy6/ pj4FASZ7NsoKybXl7cJXOohTJ6VqMgLlgIr7fgBaVJiYIXXMl+S+LpTsy6prmw== From: Frank Lichtenheld To: openvpn-devel@lists.sourceforge.net Date: Fri, 8 Dec 2023 18:35:29 +0100 Message-Id: <20231208173529.95023-1-frank@lichtenheld.com> In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Smyw22l68z9snP X-Spam-Score: -0.9 (/) 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: Not actually used. Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master and release/2.6. Content analysis details: (-0.9 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.151 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1rBelL-0002jx-St Subject: [Openvpn-devel] [PATCH v1] unit_tests: remove includes for mock_msg.h 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: , Cc: Arne Schwabe Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1784736117764285180?= X-GMAIL-MSGID: =?utf-8?q?1784736117764285180?= Not actually used. Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master and release/2.6. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/467 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Arne Schwabe diff --git a/tests/unit_tests/openvpn/test_auth_token.c b/tests/unit_tests/openvpn/test_auth_token.c index d96984f..a027330 100644 --- a/tests/unit_tests/openvpn/test_auth_token.c +++ b/tests/unit_tests/openvpn/test_auth_token.c @@ -36,8 +36,6 @@ #include "auth_token.c" -#include "mock_msg.h" - struct test_context { struct tls_multi multi; struct key_type kt; diff --git a/tests/unit_tests/openvpn/test_crypto.c b/tests/unit_tests/openvpn/test_crypto.c index 5564524..9e5469a 100644 --- a/tests/unit_tests/openvpn/test_crypto.c +++ b/tests/unit_tests/openvpn/test_crypto.c @@ -38,7 +38,6 @@ #include "options.h" #include "ssl_backend.h" -#include "mock_msg.h" #include "mss.h" static const char testtext[] = "Dummy text to test PEM encoding"; diff --git a/tests/unit_tests/openvpn/test_packet_id.c b/tests/unit_tests/openvpn/test_packet_id.c index 90c67ac..2a2a973 100644 --- a/tests/unit_tests/openvpn/test_packet_id.c +++ b/tests/unit_tests/openvpn/test_packet_id.c @@ -36,8 +36,6 @@ #include "packet_id.h" #include "reliable.h" -#include "mock_msg.h" - struct test_packet_id_write_data { struct { uint32_t buf_id; diff --git a/tests/unit_tests/openvpn/test_pkt.c b/tests/unit_tests/openvpn/test_pkt.c index 9f49ee7..7f05184 100644 --- a/tests/unit_tests/openvpn/test_pkt.c +++ b/tests/unit_tests/openvpn/test_pkt.c @@ -40,7 +40,6 @@ #include "ssl_pkt.h" #include "tls_crypt.h" -#include "mock_msg.h" #include "mss.h" #include "reliable.h" diff --git a/tests/unit_tests/openvpn/test_tls_crypt.c b/tests/unit_tests/openvpn/test_tls_crypt.c index ed7c794..465543a 100644 --- a/tests/unit_tests/openvpn/test_tls_crypt.c +++ b/tests/unit_tests/openvpn/test_tls_crypt.c @@ -36,8 +36,6 @@ #include "tls_crypt.c" -#include "mock_msg.h" - /* Define this function here as dummy since including the ssl_*.c files * leads to having to include even more unrelated code */ bool