]> git.saurik.com Git - apple/securityd.git/blobdiff - src/database.cpp
securityd-27896.tar.gz
[apple/securityd.git] / src / database.cpp
index edc689dd72997c7b5951045163dbc679ecde27b3..e1e652c567ad6dbd48cae239bc26d4b186e0ffca 100644 (file)
@@ -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