From patchwork Mon Dec 13 02:58:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lev Stipakov X-Patchwork-Id: 2154 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director15.mail.ord1d.rsapps.net ([172.28.255.1]) by backend41.mail.ord1d.rsapps.net with LMTP id UIpSKLVRt2ESXwAAqwncew (envelope-from ) for ; Mon, 13 Dec 2021 08:59:17 -0500 Received: from proxy4.mail.ord1c.rsapps.net ([172.28.255.1]) by director15.mail.ord1d.rsapps.net with LMTP id yHFpDLZRt2G5egAAIcMcQg (envelope-from ) for ; Mon, 13 Dec 2021 08:59:18 -0500 Received: from smtp34.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy4.mail.ord1c.rsapps.net with LMTPS id cBKSDrVRt2EfTwAAjcXvpA (envelope-from ) for ; Mon, 13 Dec 2021 08:59:17 -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: smtp34.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: dc5be2e2-5c1c-11ec-aa2f-545200247500-1-1 Received: from [216.105.38.7] ([216.105.38.7:35762] helo=lists.sourceforge.net) by smtp34.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 1A/2B-25785-5B157B16; Mon, 13 Dec 2021 08:59:17 -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 1mwlqV-0007RB-Sy; Mon, 13 Dec 2021 13:58:29 +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 1mwlqT-0007Qw-Uq for openvpn-devel@lists.sourceforge.net; Mon, 13 Dec 2021 13:58:27 +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=ByZKFT5ryqqnPx47JB41lG6/7AMhjOuR2Zz0OXraf0E=; b=U8LMs9z0mCJuVRY/wRnB2sfsX4 u6xZgVrkvN0Byelk29l+S0A2kKEgIKYlsqPiovPe5i5M/edhegqLPzwsG96AZwVjQA8TB5wcevnXq eN4rSC1qIXb/lAbVHDz7fBGfSMsTSQlj6DwBP45/9PmuNJiJ2iAJz50w6DuEneQpi0bs=; 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=ByZKFT5ryqqnPx47JB41lG6/7AMhjOuR2Zz0OXraf0E=; b=OElCTeZTQADH68PvRjpl1aZPwX xugVPfsWw5pK2n2jh6BoBxtWrJIICvOC6cP5B/hVIh8Ex2rM6JaGq8Y1QHBWSzjCJ8C3wJgY6ZKzF SjJzYws1fENZQb+p2kWMEF7GJNQKMlPl65s6z4GxKLpDlmB412tw5b+2Pb1NTCiE2rio=; Received: from mail-wm1-f45.google.com ([209.85.128.45]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) id 1mwlqQ-00EAYV-Sr for openvpn-devel@lists.sourceforge.net; Mon, 13 Dec 2021 13:58:27 +0000 Received: by mail-wm1-f45.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so11671854wmd.1 for ; Mon, 13 Dec 2021 05:58:22 -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=ByZKFT5ryqqnPx47JB41lG6/7AMhjOuR2Zz0OXraf0E=; b=gTD9MpLMVoXbDtMRfzgYOTSaoE+KU7o5CBIqAPE+uq5VxUCVxsuyfJTG5I6KHTDUf1 1qiCHWpxDttcscMnkceOQ+rVOYCQa9dCCVRlqbBQ6HDIZiAX6gbtx2/rsSxoKub0tkyU vCyF5b3iI4zwItgqhGo5oCbwsNu+E7QIbJfUGuOmClSG1Ccw/BcDeC7j85hDtYE69Ou5 9O7yp+jFCD7xew+35pXUTM744kMIIs3+MflxANMjRXi1lohfu0UkjgJNgbg53rYTXueu vN3MFTNWB04eWQUG+z3bM9d/7Maa89itOFYV2n8JMf0CBeqSXkIJcAl44yfDkgYhsiaQ JP2g== 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=ByZKFT5ryqqnPx47JB41lG6/7AMhjOuR2Zz0OXraf0E=; b=v3WCkK8G159fjTz3I5L2StLaawLO3hfLe1LNjizRZIJpYi2CIxI4IoSd3wumZn9N+/ J3ug7g2sL0v8JBNalyI+cKhB3jHmHukA92brJYk/pOH18mTNcRSL/RcvRFj0STzSooV9 AlbEzDx1Y6ylP0/GuH1UkYbSoeoW6ho8EOttP1zax+LH1nkI+dfB23zQJTQJaJl1mAQy YO+8sCj5xhRi59fqtInRxUts5VmAwxFc/Z/uXi0XzUNz/D6DrC3vY6+bcscoEGs1fdWA 5ERZ3t0Sjg6O8gG4jQ4FnGpYn+oHbWlEdnR6gOxIiCwEhYrrP4DWL3K2FkIn/v+/lJn4 CeMA== X-Gm-Message-State: AOAM533W4NMMsioJebq2FC+SM+fhAEKuVqykBEYTaOtqfZoMbcSWv+Ms Bj6MZSRKNmCbPOhptMzvsKjp/xmxx4M= X-Google-Smtp-Source: ABdhPJxosqhFugQ6fkQsnx2+fD+m4uaxt22H+GZdftuP98VhvfRlhf+5uL+iAmT7qXcGmWwztbXN7w== X-Received: by 2002:a05:600c:4113:: with SMTP id j19mr38454396wmi.48.1639403894864; Mon, 13 Dec 2021 05:58:14 -0800 (PST) Received: from LAPTOP-4L3N7KFS.localdomain (nat1.panoulu.net. [185.38.2.1]) by smtp.gmail.com with ESMTPSA id l1sm10901865wrn.15.2021.12.13.05.58.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 05:58:11 -0800 (PST) From: Lev Stipakov To: openvpn-devel@lists.sourceforge.net Date: Mon, 13 Dec 2021 15:58:14 +0200 Message-Id: <20211213135814.265-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 MSVC build uses OpenSSL from vcpkg, which at the moment is 1.1.1l. Key material export was added to 1.1.1, so it is safe to indicate its support unconditionally. This enables Windows releases to benefit from tls-ekm data channel keys derivation. 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.128.45 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.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 -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.45 listed in wl.mailspike.net] X-Headers-End: 1mwlqQ-00EAYV-Sr Subject: [Openvpn-devel] [PATCH 2.5] config-msvc.h: indicate key material export 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 MSVC build uses OpenSSL from vcpkg, which at the moment is 1.1.1l. Key material export was added to 1.1.1, so it is safe to indicate its support unconditionally. This enables Windows releases to benefit from tls-ekm data channel keys derivation. Signed-off-by: Lev Stipakov Acked-by: Gert Doering --- config-msvc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config-msvc.h b/config-msvc.h index a624f97d..e7479c86 100644 --- a/config-msvc.h +++ b/config-msvc.h @@ -113,6 +113,8 @@ #define HAVE_EC_GROUP_ORDER_BITS 1 #define HAVE_EVP_CIPHER_CTX_RESET 1 +#define HAVE_EXPORT_KEYING_MATERIAL 1 + #define HAVE_DIINSTALLDEVICE 1 #define PATH_SEPARATOR '\\'