updater: Make stateful decision
If at least once certificate has been downloaded from KeDiFa it shall never use again the fall-back, as otherwise it would result with a problem, that next unsuccessful download from KeDiFa would result replacement with fall-back. In order to do so state file is introduced keeping list of overridden certificates. As now there is critical path regarding fetching certificates, the lock is created to avoid concurrent updates.
Showing
This diff is collapsed.
Please register or sign in to comment