From patchwork Sat Sep 9 13:49:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: orbea X-Patchwork-Id: 3338 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7300:390:b0:d7:3b0f:3938 with SMTP id 16csp1243327dyq; Sat, 9 Sep 2023 06:50:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbOfZZhQiHVxzEPkYBa9u/qdiXDPebj72TOYkDI0lXDom6LuxyO0VuIAbfMwMHgENIB5wc X-Received: by 2002:a17:90a:1002:b0:26d:4ade:fcf0 with SMTP id b2-20020a17090a100200b0026d4adefcf0mr4935710pja.4.1694267442712; Sat, 09 Sep 2023 06:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694267442; cv=none; d=google.com; s=arc-20160816; b=dLoMwV9PiDSd+9btyn7Ed4b5vzueWcDhky84Cfit40u43QwTJuAwpGqalibg7xBV/e PC8MmFacVtOKZ4XEP3VsnvMaYRAYRQeuPT8G/BgNhljUZVDwGVoBMgzx7EKI94PFCtXn o7xbfzhlGobrRW0aew7zV08s/Qsv7PTwYUubZWv6cIEc4xKkGM73vFPDwMXmnImyDMj/ S739Aii2FmAoxRLdou9a9POCgaY8FvnNFodhb6VF2uSbnNP98ycr72vh1ndpgZjqu3TB 1oMt0/Tz2XRrQavSOhCXd+Qsgptluurz9U4MTUqGzZ/UzXmoCwVKGkepQZWdxpSLqek8 d6NQ== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=Vf8r00ZoRG68KgFzCc+ZM0qz+JtHzYRypph13J/WpIk=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=b1sPYXwQX3tFCrtjb08598q4tc0BMqsJ9bAfk0p34buxQXf1klgYDdpvzJTfUoWVZh BtFsHn2PbfukXCg6lLwMYQZyKK6BdSS8n3x3ibRoUYRICGtshmwQwgUdFOPBl0rIO46Z iNrdHJlpp22TSp8tUB4L7ozg9CoRZGTXFmZgVe8rZNX3VdnlM2aAOX2UWUQhPtBf9rKi Xx7obv/9vCJQLg8IY8buQ5/uCt9tca7XpSsZeCVVVOnNnibPu/b5B3+iHviKGciOThd1 KH5OkTYbUczGtAfITwR6Ql0FM0yXDWwlituKQsvKWOlwaEfbG2AG8g9U90/mrKP/J/V2 QAMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=UBxaa4Bg; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=LIoWLvvw; dkim=neutral (body hash did not verify) header.i=@riseup.net header.s=squak header.b=UN2vT6e1; 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=riseup.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id lb4-20020a17090b4a4400b0026b71fdd505si3191237pjb.177.2023.09.09.06.50.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2023 06:50: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=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=UBxaa4Bg; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=LIoWLvvw; dkim=neutral (body hash did not verify) header.i=@riseup.net header.s=squak header.b=UN2vT6e1; 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=riseup.net 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 1qeyLm-0004Vn-VH; Sat, 09 Sep 2023 13:50:13 +0000 Received: from [172.30.20.202] (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 1qeyLm-0004Vh-3U for openvpn-devel@lists.sourceforge.net; Sat, 09 Sep 2023 13:50:12 +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=S5f9p0w5UHiRKfgHfWsMWUZXEqVYJ2svxPfJh/c/B3s=; b=UBxaa4Bg3d/4MGGoVqLLtWW1la oXAzDrt6PkyaT884pT8cMF2X4lP4IqNYZU+srrW5Rki+y0CR0YZiajevlH3h6m0hTFaV3vo0OovPO s7Xj+Uq8G41HMlxiq/uOYGdd+hsjSOevFTf2POX0h6CIDIwDGYxMtIDS1c0COnf0uP3E=; 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=S5f9p0w5UHiRKfgHfWsMWUZXEqVYJ2svxPfJh/c/B3s=; b=LIoWLvvwqgHjVjn56l5aV8cz91 k2mXZ5g4801nDjdyL70smZCsUKst1yGjXJfE+TJwsamtWKiiXi5JRN3goI0yiPU4QpUrmnEIU1E0E POwxLkW/Z+wBVUGqOu92/iFLHMCAAh5AmFUDTvcnP4T/GI2dttTDOqAJeKIpMCZVhNms=; Received: from mx0.riseup.net ([198.252.153.6]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qeyLc-00Fd07-9n for openvpn-devel@lists.sourceforge.net; Sat, 09 Sep 2023 13:50:12 +0000 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4RjZ9L0Ddgz9s7P for ; Sat, 9 Sep 2023 13:49:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1694267398; bh=OvfbM/IvY4dv5XtGUKUePOleOWAou8OhFD8Z6DWZjDk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UN2vT6e15DSTBnFEiwJgmq35EslFPf93xe5MyoORyuWAkR3TNYjwHNU/ugRuhUFNz uOqkSSI+laQlvzXyp09ro5yb+bCYwegshCvEOZoWeycBKtpnmNyWlgsMwAnyo2TzbM q0Nmws0/w8ZMsfn5BjlRazzEX1LWdJ0WgbaNwZ3k= X-Riseup-User-ID: 4EB0FF39487C935D59A1BC5DD7E6DC95BD1035517C53E413F48325FEFA133884 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4RjZ9K52lszFqgg; Sat, 9 Sep 2023 13:49:57 +0000 (UTC) From: orbea@riseup.net To: openvpn-devel@lists.sourceforge.net Date: Sat, 9 Sep 2023 06:49:56 -0700 Message-ID: <20230909134956.5902-1-orbea@riseup.net> In-Reply-To: References: MIME-Version: 1.0 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: From: orbea Starting with LibreSSL 3.8.1 the engines have been removed which causes the OpenVPN build to fail. This can be solved during configure by checking if OPENSSL_NO_ENGINE is defined in opensslconf.h. 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 [198.252.153.6 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1qeyLc-00Fd07-9n Subject: [Openvpn-devel] [PATCH v2] configure: disable engines if OPENSSL_NO_ENGINE is defined 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?1776568178052766934?= X-GMAIL-MSGID: =?utf-8?q?1776568178052766934?= From: orbea Starting with LibreSSL 3.8.1 the engines have been removed which causes the OpenVPN build to fail. This can be solved during configure by checking if OPENSSL_NO_ENGINE is defined in opensslconf.h. Signed-off-by: orbea Acked-by: Gert Doering --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2f65cbd5..266b66f0 100644 --- a/configure.ac +++ b/configure.ac @@ -927,11 +927,17 @@ if test "${with_crypto_library}" = "openssl"; then [AC_LANG_PROGRAM( [[ #include + #include ]], [[ /* Version encoding: MNNFFPPS - see opensslv.h for details */ #if OPENSSL_VERSION_NUMBER >= 0x30000000L - #error Engine supported disabled by default in OpenSSL 3.0+ + #error Engine support disabled by default in OpenSSL 3.0+ + #endif + + /* BoringSSL and LibreSSL >= 3.8.1 removed engine support */ + #ifdef OPENSSL_NO_ENGINE + #error Engine support disabled in openssl/opensslconf.h #endif ]] )],