mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-28 05:14:29 +00:00
Motivation: SecTrustEvaluateAsync documents that it must be called from the same queue it will call you back on. We failed to do this. Let's fix that up. While we're here, we should use the non-deprecated API where it's practical to do so. Modifications: - Async out to the queue before calling SecTrustEvaluateAsync. - Call SecTrustEvaluateAsyncWithError where it's available. Result: Following the rules.