X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..313fa17b58b78d3c26fb986be9e8fce975cec88c:/libsecurity_codesigning/lib/reqinterp.cpp?ds=sidebyside diff --git a/libsecurity_codesigning/lib/reqinterp.cpp b/libsecurity_codesigning/lib/reqinterp.cpp index e3e82338..cce6d48f 100644 --- a/libsecurity_codesigning/lib/reqinterp.cpp +++ b/libsecurity_codesigning/lib/reqinterp.cpp @@ -292,7 +292,7 @@ bool Requirement::Interpreter::certFieldPolicy(const CssmOid &oid, const Match & bool Requirement::Interpreter::appleAnchored() { if (SecCertificateRef cert = mContext->cert(anchorCert)) - if (verifyAnchor(cert, appleAnchorHash()) + if (isAppleCA(cert) #if defined(TEST_APPLE_ANCHOR) || verifyAnchor(cert, testAppleAnchorHash()) #endif