From 606e0426a148034c8c131de9f31f7d3e38be99ea Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Fri, 8 Apr 2022 13:20:44 +0100 Subject: Add support for loading root CAs from Windows crypto API Fixes #18020. Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18070) --- Configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Configure') diff --git a/Configure b/Configure index b5ee68d54d..066ff1833e 100755 --- a/Configure +++ b/Configure @@ -417,6 +417,7 @@ my @disablables = ( "cached-fetch", "camellia", "capieng", + "winstore", "cast", "chacha", "cmac", @@ -1731,6 +1732,12 @@ unless ($disabled{ktls}) { } } +unless ($disabled{winstore}) { + unless ($target =~ /^(?:Cygwin|mingw|VC-|BC-)/) { + disable('not-windows', 'winstore'); + } +} + push @{$config{openssl_other_defines}}, "OPENSSL_NO_KTLS" if ($disabled{ktls}); # Get the extra flags used when building shared libraries and modules. We -- cgit v1.2.3