]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
config-msvc.h: indicate key material export support
authorLev Stipakov <lev@openvpn.net>
Mon, 13 Dec 2021 13:58:14 +0000 (15:58 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 13 Dec 2021 14:50:01 +0000 (15:50 +0100)
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.

2.5 does not have tls-ekm yet, but it has the generic keying material
exporter framework, which was only enabled in MinGW builds.  Fix.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211213135814.265-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23395.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
config-msvc.h

index a624f97d7162c2ffa05c4d6eac63c497be32111b..e7479c86144378718b6f943c4de23c7ba9c1f016 100644 (file)
 #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     '\\'