Created
April 2, 2020 07:11
-
-
Save davidmtamas/c8def5aa002619cf2a60facf83067943 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check if the trust is valid | |
var secResult = SecTrustResultType.invalid | |
let status = SecTrustEvaluate(serverTrust, &secResult) | |
guard status == errSecSuccess else { return false } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment