Skip to contentSkip to conversation

config-msvc.h: indicate key material export support

PATCH In review Lev Stipakov 3 participants 3 messages Dec 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config-msvc.h: indicate key material export support

From: Lev Stipakov <[email protected]...>

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.

---
 config-msvc.h | 1 +
 1 file changed, 1 insertion(+)
config-msvc.h +1 -0
index 0ae38482..b08beb52 100644
@@ -40,6 +40,7 @@
 #define HAVE_IN_PKTINFO 1
 
 #define HAVE_OPENSSL_ENGINE 1
+#define HAVE_EXPORT_KEYING_MATERIAL 1
 
 #define HAVE_DIINSTALLDEVICE 1
 
Signature · 1 line
2.23.0.windows.1
Acked-by on v1 1/1
#1 lore raw

Am 13.12.21 um 14:52 schrieb Lev Stipakov:

Quoted 9 lines

From: Lev Stipakov <[email protected]...>

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.

#2 lore raw
In reply to Lev Stipakov

Have not tested anything, but this seems to make sense.

Your patch has been applied to the master branch.

commit b031495ff9f0281459fb8ca06240b9a32c50c5c9

Author: Lev Stipakov
Date:   Mon Dec 13 15:52:53 2021 +0200
     config-msvc.h: indicate key material export support

     Signed-off-by: Lev Stipakov <[email protected]...>
     Acked-by: Arne Schwabe <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg23394.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering