summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-04-08 13:20:44 +0100
committerHugo Landau <hlandau@openssl.org>2022-09-14 14:10:18 +0100
commit606e0426a148034c8c131de9f31f7d3e38be99ea (patch)
tree2d91031e79f6b5bb2f83076924e4f1de54655d7e /Configure
parent021859bf810a3614758c2f4871b9cd7202fac9b2 (diff)
downloadopenssl-new-606e0426a148034c8c131de9f31f7d3e38be99ea.tar.gz
Add support for loading root CAs from Windows crypto API
Fixes #18020. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18070)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 7 insertions, 0 deletions
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