From 499c8bfcefda58a1963927651619012e2311e90f Mon Sep 17 00:00:00 2001 From: Ian Partridge Date: Mon, 17 Dec 2018 10:08:20 +0000 Subject: [PATCH] Fix: remove @available annotations --- Sources/SSLService/SSLService.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Sources/SSLService/SSLService.swift b/Sources/SSLService/SSLService.swift index 2e64e8a..a13160f 100644 --- a/Sources/SSLService/SSLService.swift +++ b/Sources/SSLService/SSLService.swift @@ -185,9 +185,6 @@ public class SSLService: SSLServiceDelegate { /// /// - Returns: New Configuration instance. /// - @available(macOS, unavailable, message: "This API not supported on Apple platforms.") - @available(iOS, unavailable, message: "This API not supported on Apple platforms.") - @available(tvOS, unavailable, message: "This API not supported on Apple platforms.") public init(withCipherSuite cipherSuite: String? = nil, clientAllowsSelfSignedCertificates: Bool = true) { self.noBackingCertificates = true @@ -209,9 +206,6 @@ public class SSLService: SSLServiceDelegate { /// /// - Returns: New Configuration instance. /// - @available(macOS, unavailable, message: "This API not supported on Apple platforms.") - @available(iOS, unavailable, message: "This API not supported on Apple platforms.") - @available(tvOS, unavailable, message: "This API not supported on Apple platforms.") public init(withCACertificateFilePath caCertificateFilePath: String?, usingCertificateFile certificateFilePath: String?, withKeyFile keyFilePath: String? = nil, usingSelfSignedCerts selfSigned: Bool = true, cipherSuite: String? = nil) { self.certificateFilePath = certificateFilePath @@ -237,9 +231,6 @@ public class SSLService: SSLServiceDelegate { /// /// - Returns: New Configuration instance. /// - @available(macOS, unavailable, message: "This API not supported on Apple platforms.") - @available(iOS, unavailable, message: "This API not supported on Apple platforms.") - @available(tvOS, unavailable, message: "This API not supported on Apple platforms.") public init(withCACertificateDirectory caCertificateDirPath: String?, usingCertificateFile certificateFilePath: String?, withKeyFile keyFilePath: String? = nil, usingSelfSignedCerts selfSigned: Bool = true, cipherSuite: String? = nil) { self.certificateFilePath = certificateFilePath