From patchwork Tue Jan 11 04:06:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lev Stipakov X-Patchwork-Id: 2215 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director9.mail.ord1d.rsapps.net ([172.28.255.1]) by backend41.mail.ord1d.rsapps.net with LMTP id cIGCGFmd3WGGKQAAqwncew (envelope-from ) for ; Tue, 11 Jan 2022 10:08:09 -0500 Received: from proxy3.mail.ord1c.rsapps.net ([172.28.255.1]) by director9.mail.ord1d.rsapps.net with LMTP id AGyrH1md3WFAEAAAalYnBA (envelope-from ) for ; Tue, 11 Jan 2022 10:08:09 -0500 Received: from smtp39.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy3.mail.ord1c.rsapps.net with LMTPS id QCU/H1md3WGCQgAANIxBXg (envelope-from ) for ; Tue, 11 Jan 2022 10:08:09 -0500 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp39.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: 48f871ec-72f0-11ec-9615-5452006c005a-1-1 Received: from [216.105.38.7] ([216.105.38.7:41738] helo=lists.sourceforge.net) by smtp39.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 39/29-19324-85D9DD16; Tue, 11 Jan 2022 10:08:08 -0500 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.94.2) (envelope-from ) id 1n7Ik3-0004zK-7E; Tue, 11 Jan 2022 15:07:17 +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.94.2) (envelope-from ) id 1n7Ik2-0004zA-FO for openvpn-devel@lists.sourceforge.net; Tue, 11 Jan 2022 15:07:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding: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=gimfzAZTi3VxNOyiUgqFYXFsjBOiyHxj5U9thFVrlxA=; b=IxkFcERx5vUuMqhOdp2IuMBddV ebVpk+ZsdTxZyX/A/WaMq4oFxTD5WG16hsgRByJdVlDr31vYwNAZdUfDqoIVa9qTAypSh/tRBveKG 3REUgRGhNR58EJJKkUo39uh3ZfEyEqykmd9pGjUJUpi+XRdOWK1GUL66YbnZjmaVx7ws=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding: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=gimfzAZTi3VxNOyiUgqFYXFsjBOiyHxj5U9thFVrlxA=; b=Fltpz7LGJdmtJvVIV9m7hWo6ox EmotMv0+tmmg0EnmVuEPejY90l5oDALarbAmpJeYoUy8sy4eDyvv/9zBMslUikmuMWvvZ68q6E/nE 5kfsr6nTC5G7gIAf06HQaORb3qV+dmX1z/C08fjtN9FkGt2JsWhBPo1hsoZcDrQvJgC0=; Received: from mail-lf1-f43.google.com ([209.85.167.43]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) id 1n7Ijx-0008UG-Rs for openvpn-devel@lists.sourceforge.net; Tue, 11 Jan 2022 15:07:17 +0000 Received: by mail-lf1-f43.google.com with SMTP id j11so57362501lfg.3 for ; Tue, 11 Jan 2022 07:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=gimfzAZTi3VxNOyiUgqFYXFsjBOiyHxj5U9thFVrlxA=; b=kzjMwUe7Se9ItooheXnIx1ma683xFGIWY3Tb8AbteSqmedLPkdzBbbe2NbkubQeVX6 yUoXV5PJZkzp5selYbRL/DDO2s54MxmU9HkaPguMKJK4lH1bT8CdUazCGo+azeh16jeN vZu2U1iZmxw/WuD7AMSIhrxDJcLyPVtjf9MX4n77B+Sz/TeIw00uisQqhoia9xqYgQ3e RjJ13CplQ/36fPjPYLvclmrnrThsi6fs7FLQ24Tf6wt05eVsZ+cuPnQ9g+dSHxcb5CcF XiLLy+EURs3jDCXRcswmtKnd5RBp3v1Cj2yvNYv+2nljG2FRfqLW3ioyGxkLTTFH+Xjx yopA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gimfzAZTi3VxNOyiUgqFYXFsjBOiyHxj5U9thFVrlxA=; b=TLGcFmuTFOmjCRgGSsXPdFQtrSg7uIfxAGWey52uziPaelhRSJwvgAH8bai3bYtr+5 RwxeoRJnJRSNsiD0N5cUWUJ8YM21+R+y6u4DXFsT15jcm+PFRrlTDSKei1xONXZUNIsq Bwgh+Qmgzxay1F9wqXEifwp3Wrwuy1YzbRWx+nR0tyeL9JUjc+jMUbknacCmSKNt5Tk4 8l7CSfT2WcVC5Nopr1SAJpTAxlnccSzBgPxm6XLBARYYDzRelQXW6033ECUYSb9NNJ0f PVve038d8JhTnWdT7n+2yRS2vagUtq5CAxAPl9uuawlV5xU8niW3hqQPjwpLEO1DLoco Oadg== X-Gm-Message-State: AOAM531ffjZ9OqxjJsdIRI3D1rZpiuUaK6KmyR1rqaB4Pd4+BLVIjT4v oMXh5Awc1XI8HDoxU3tWT4NlEMi4dQc= X-Google-Smtp-Source: ABdhPJzTrO1Fev+HWxGrZJiRNFFlkaVKCN0PG+YD0J7DLrBtJNjk6yvJM3wAYElYys88UBY9/vzIZQ== X-Received: by 2002:a2e:b754:: with SMTP id k20mr3115278ljo.437.1641913627043; Tue, 11 Jan 2022 07:07:07 -0800 (PST) Received: from LAPTOP-4L3N7KFS.localdomain (37-33-237-42.bb.dnainternet.fi. [37.33.237.42]) by smtp.gmail.com with ESMTPSA id p27sm1355084lfa.295.2022.01.11.07.07.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 07:07:06 -0800 (PST) From: Lev Stipakov To: openvpn-devel@lists.sourceforge.net Date: Tue, 11 Jan 2022 17:06:47 +0200 Message-Id: <20220111150647.267-1-lstipakov@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Report: Spam detection software, running on the system "util-spamd-1.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: Lev Stipakov We always build with OpenSSL >= 1.1.1, which has EC support. Signed-off-by: Lev Stipakov --- ...-vc.h.in-indicate-OpenSSL-EC-support.patch | 33 +++++++++++++++++++ contrib/vcpkg-ports/pkcs11-helper/CONTROL | 2 +- .../vcpkg-ports/pkcs11-helper/portfile.cmake | [...] Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.43 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.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [lstipakov[at]gmail.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.43 listed in wl.mailspike.net] -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: 1n7Ijx-0008UG-Rs Subject: [Openvpn-devel] [PATCH master+2.5] vcpkg-ports/pkcs11-helper: indicate OpenSSL EC support 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: Lev Stipakov MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox From: Lev Stipakov We always build with OpenSSL >= 1.1.1, which has EC support. Signed-off-by: Lev Stipakov Acked-by: Gert Doering --- ...-vc.h.in-indicate-OpenSSL-EC-support.patch | 33 +++++++++++++++++++ contrib/vcpkg-ports/pkcs11-helper/CONTROL | 2 +- .../vcpkg-ports/pkcs11-helper/portfile.cmake | 1 + 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 contrib/vcpkg-ports/pkcs11-helper/0003-config-w32-vc.h.in-indicate-OpenSSL-EC-support.patch diff --git a/contrib/vcpkg-ports/pkcs11-helper/0003-config-w32-vc.h.in-indicate-OpenSSL-EC-support.patch b/contrib/vcpkg-ports/pkcs11-helper/0003-config-w32-vc.h.in-indicate-OpenSSL-EC-support.patch new file mode 100644 index 00000000..212181a7 --- /dev/null +++ b/contrib/vcpkg-ports/pkcs11-helper/0003-config-w32-vc.h.in-indicate-OpenSSL-EC-support.patch @@ -0,0 +1,33 @@ +From c2293864de70fec322fe7e559055530ef56b9641 Mon Sep 17 00:00:00 2001 +From: Lev Stipakov +Date: Tue, 11 Jan 2022 13:35:42 +0200 +Subject: [PATCH] config-w32-vc.h.in: indicate OpenSSL EC support + +Signed-off-by: Lev Stipakov +--- + config-w32-vc.h.in | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/config-w32-vc.h b/config-w32-vc.h +index 6d94841..db83825 100644 +--- a/config-w32-vc.h ++++ b/config-w32-vc.h +@@ -218,3 +218,15 @@ + + /* Define to 1 if you have the `DSA_SIG_set0' function. */ + #define HAVE_DSA_SIG_SET0 1 ++ ++/* Define to 1 if you have the `ECDSA_SIG_set0' function. */ ++#define HAVE_ECDSA_SIG_SET0 1 ++ ++/* Define to 1 if you have the `EC_KEY_METHOD_get_sign' function. */ ++#define HAVE_EC_KEY_METHOD_GET_SIGN 1 ++ ++/* Define to 1 if you have the `EC_KEY_METHOD_set_sign' function. */ ++#define HAVE_EC_KEY_METHOD_SET_SIGN 1 ++ ++/* Define to 1 if OpenSSL has EC support. */ ++#define ENABLE_PKCS11H_OPENSSL_EC 1 +-- +2.23.0.windows.1 + diff --git a/contrib/vcpkg-ports/pkcs11-helper/CONTROL b/contrib/vcpkg-ports/pkcs11-helper/CONTROL index 372d420a..6a5077fd 100644 --- a/contrib/vcpkg-ports/pkcs11-helper/CONTROL +++ b/contrib/vcpkg-ports/pkcs11-helper/CONTROL @@ -1,4 +1,4 @@ Source: pkcs11-helper -Version: 1.28-1 +Version: 1.28-3 Homepage: https://github.com/OpenSC/pkcs11-helper Description: pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications. diff --git a/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake b/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake index d8dee3f6..532aa69b 100644 --- a/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake +++ b/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake @@ -13,6 +13,7 @@ vcpkg_extract_source_archive_ex( PATCHES 0001-nmake-compatibility-with-vcpkg-nmake.patch 0002-pkcs11.h-rename-interface-parameter.patch + 0003-config-w32-vc.h.in-indicate-OpenSSL-EC-support.patch pkcs11-helper-001-RFC7512.patch )