* Framework.
*/
-#include "OSX/trustd/macOS/SecTrustOSXEntryPoints.h"
+#include "trust/trustd/macOS/SecTrustOSXEntryPoints.h"
#include <CoreFoundation/CoreFoundation.h>
#include <dispatch/dispatch.h>
notify_register_dispatch(kSecServerCertificateTrustNotification, &out_token,
dispatch_get_main_queue(),
^(int token __unused) {
- // Purge keychain parent cache
- SecItemParentCachePurge();
- // Purge unrestricted roots cache
- SecTrustSettingsPurgeUserAdminCertsCache();
-
- });
+ // Purge keychain parent cache
+ SecItemParentCachePurge();
+ // Purge tust settings cert cache
+ SecTrustSettingsPurgeUserAdminCertsCache();
+ // Purge the trust settings cache
+ SecTrustSettingsPurgeCache();
+ });
}