diff --git a/Source/SSLSecurity.swift b/Source/SSLSecurity.swift index 968e4eb..b3257e4 100644 --- a/Source/SSLSecurity.swift +++ b/Source/SSLSecurity.swift @@ -241,7 +241,7 @@ public class SSLSecurity : NSObject { - returns: the public keys from the certifcate chain for the trust */ - func publicKeyChainForTrust(trust: SecTrustRef) -> [SecKeyRef] { + private func publicKeyChainForTrust(trust: SecTrustRef) -> [SecKeyRef] { let policy = SecPolicyCreateBasicX509() let keys = (0.. [SecKeyRef] in var keys = keys