Searched refs:peerTrust (Results 1 – 1 of 1) sorted by relevance
297 SecTrustRef peerTrust; in tls_open() local302 if (SSLCopyPeerTrust(c->ssl_context, &peerTrust) != noErr) { in tls_open()307 if (SecTrustSetAnchorCertificates(peerTrust, c->ca_array) != noErr) { in tls_open()312 if (SecTrustEvaluate(peerTrust, &trustResult) != noErr) { in tls_open()329 if (peerTrust) in tls_open()330 CFRelease(peerTrust); in tls_open()