Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(url-lib): improve ca-bundle detection
The current detection routine for openssl-based libcurl assumes that libcurl has its own hardcoded path to the ca-bundle. Fix the cases where curl is compiled with: --with-ca-fallback --without-ca-path --without-ca-bundle In this case, we must also grep in OpenSSLs libcrypto. Other changes: - Filter reported but non-existant paths. - Strip nul bytes returned by grep. - Consider that ca-bundles might use '.pem' instead of '.crt'. Original-patch-by: Daniel Molkentin <daniel.molkentin@suse.com>
- Loading branch information