File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ - (void)testOffSyntax {
4747- (void )testSocketManager {
4848 SocketClientManager* manager = [SocketClientManager sharedManager ];
4949 [manager addSocket: self .socket labeledAs: @" test" ];
50- [manager removeSocketWithLabel: @" test" ];
50+ [manager removeSocketWithLabel: @" test" ];
5151}
5252
5353@end
Original file line number Diff line number Diff line change 2323import Foundation
2424import Security
2525
26- public class SSLCert {
26+ public class SSLCert : NSObject {
2727 var certData : NSData ?
2828 var key : SecKeyRef ?
2929
@@ -50,7 +50,7 @@ public class SSLCert {
5050 }
5151}
5252
53- public class SSLSecurity {
53+ public class SSLSecurity : NSObject {
5454 public var validatedDN = true //should the domain name be validated?
5555
5656 var isReady = false //is the key processing done?
@@ -88,6 +88,8 @@ public class SSLSecurity {
8888 - returns: a representation security object to be used with
8989 */
9090 public init ( certs: [ SSLCert ] , usePublicKeys: Bool ) {
91+ super. init ( )
92+
9193 self . usePublicKeys = usePublicKeys
9294
9395 if self . usePublicKeys {
You can’t perform that action at this time.
0 commit comments