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