X-Git-Url: https://git.saurik.com/apple/securityd.git/blobdiff_plain/ee396ef47db58c01c7ceaecfec60781c95ffeea1..24a291535d44686bc7959c7e398fab040e3e08a7:/src/database.cpp?ds=sidebyside diff --git a/src/database.cpp b/src/database.cpp index edc689d..e1e652c 100644 --- a/src/database.cpp +++ b/src/database.cpp @@ -231,7 +231,7 @@ bool SystemKeychainKey::matches(const DbBlob::Signature &signature) bool SystemKeychainKey::update() { // if we checked recently, just assume it's okay - if (mUpdateThreshold > Time::now()) + if (mValid && mUpdateThreshold > Time::now()) return mValid; // check the file