From a9aa28ae776cf263837a0446ea1946ef430f5b42 Mon Sep 17 00:00:00 2001 From: Erik Little Date: Wed, 27 Jul 2016 11:50:44 -0400 Subject: [PATCH] make nonobjc --- Source/SSLSecurity.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/SSLSecurity.swift b/Source/SSLSecurity.swift index 454fdc6..4ce1f7a 100644 --- a/Source/SSLSecurity.swift +++ b/Source/SSLSecurity.swift @@ -55,7 +55,7 @@ public class SSLSecurity : NSObject { var isReady = false //is the key processing done? var certificates: [NSData]? //the certificates - private var pubKeys: [SecKeyRef]? //the public keys + @nonobjc var pubKeys: [SecKeyRef]? //the public keys var usePublicKeys = false //use public keys or certificate validation? /** @@ -241,7 +241,7 @@ public class SSLSecurity : NSObject { - returns: the public keys from the certifcate chain for the trust */ - private func publicKeyChainForTrust(trust: SecTrustRef) -> [SecKeyRef] { + @nonobjc func publicKeyChainForTrust(trust: SecTrustRef) -> [SecKeyRef] { let policy = SecPolicyCreateBasicX509() let keys = (0.. [SecKeyRef] in var keys = keys