mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-08 14:42:02 +00:00
When the system time is way off, the certificate validation will fail. For this reason, many swupd commands attempt to fix the system time if wrong. check-update was not doing this so the command would fail in this situation. This commit adds a verification for this so check-update attempts to fix the system time and continue instead of failing. Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>