diff options
author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-06-13 22:33:37 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-14 11:01:41 +0200 |
commit | 8fa0a298c65548615a86a042b2661d637c532699 (patch) | |
tree | 6022dc5d84c7e72a44072109763cc9a8e9a4ff3e /m4 | |
parent | bb9d2abae6397f926c2784721bb4c4919f7f43cd (diff) | |
download | curl-8fa0a298c65548615a86a042b2661d637c532699.tar.gz |
rustls: remove native_roots fallback
For the commandline tool, we expect to be passed
SSL_CONN_CONFIG(CAfile); for library use, the use should pass a set of
trusted roots (like in other TLS backends).
This also removes a dependency on Security.framework when building on
macOS.
Closes #7250
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-rustls.m4 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/m4/curl-rustls.m4 b/m4/curl-rustls.m4 index 6f8ea4ff8..2ac34b366 100644 --- a/m4/curl-rustls.m4 +++ b/m4/curl-rustls.m4 @@ -63,9 +63,6 @@ if test "x$OPT_RUSTLS" != xno; then rustlslib=$OPT_RUSTLS/lib$libsuff LDFLAGS="$LDFLAGS $addld" - if (test -d "/System/Library/Frameworks/Security.framework" && test "x$cross_compiling" != "xyes"); then - LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security" - fi if test "$addcflags" != "-I/usr/include"; then CPPFLAGS="$CPPFLAGS $addcflags" fi |