curl: reenable ca-fallback when not using wolfsslSupport

904625852d accidentally swapped the
behaviour, and enabled ca-fallback when using wolfssl and disabled it
without. This effectively disables curl's ability to use the built in CA
stack.
This commit is contained in:
Luke Granger-Brown 2021-09-07 00:59:03 +00:00
parent 4cc9b84118
commit 4e1b102af6

View file

@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
"--without-ca-bundle"
"--without-ca-path"
# The build fails when using wolfssl with --with-ca-fallback
(lib.withFeature wolfsslSupport "ca-fallback")
(lib.withFeature (!wolfsslSupport) "ca-fallback")
"--disable-manual"
(lib.withFeatureAs sslSupport "ssl" openssl.dev)
(lib.withFeatureAs gnutlsSupport "gnutls" gnutls.dev)