Lines Matching defs:trustResult
318 SecTrustResultType trustResult;
319 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
320 is_status(trustResult, kSecTrustResultUnspecified,
325 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
326 is_status(trustResult, kSecTrustResultProceed, "trust is kSecTrustResultProceed");
334 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
335 is_status(trustResult, kSecTrustResultRecoverableTrustFailure, "trust is kSecTrustResultRecoverableTrustFailure");
339 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
340 is_status(trustResult, kSecTrustResultProceed, "trust is kSecTrustResultProceed");
346 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
347 is_status(trustResult, kSecTrustResultProceed, "trust is kSecTrustResultProceed");
350 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
351 is_status(trustResult, kSecTrustResultRecoverableTrustFailure, "trust is kSecTrustResultRecoverableTrustFailure");
354 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
355 is_status(trustResult, kSecTrustResultProceed, "trust is now kSecTrustResultProceed");
358 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
359 is_status(trustResult, kSecTrustResultRecoverableTrustFailure, "trust is kSecTrustResultRecoverableTrustFailure again");
364 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
365 is_status(trustResult, kSecTrustResultProceed, "trust is kSecTrustResultProceed");
369 ok_status(SecTrustEvaluate(trust, &trustResult), "evaluate trust");
370 is_status(trustResult, kSecTrustResultRecoverableTrustFailure, "trust is kSecTrustResultRecoverableTrustFailure");