Skip to content

Commit

Permalink
curl: reenable ca-fallback when not using wolfsslSupport
Browse files Browse the repository at this point in the history
9046258 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.
  • Loading branch information
lukegb committed Sep 7, 2021
1 parent 4cc9b84 commit 4e1b102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/networking/curl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e1b102

Please sign in to comment.