mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 22:21:32 +00:00
A colon-separated list of alternative CApath options can be passed to swupd-client at the configuration time using --with-fallback-capaths option. In runtime, fallback CApath support is implemented as part of the connectivity check. The implementation will try the default (built into curl) and then will iterate through the list in the order they were specified. It is done only once on the first call. The code is reorganized to keep the connectivity check inside curl wrapper: * Deleted check_network implementation from version.c * Removed have_network global (globals.c) * Scoped swupd_curl_test_resume to curl.c * Change use of check_network to swupd_curl_check_network Also: * Fixed an issue where SSL was only enabled if a URL was matching the content URL