diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/benjamintincher@pgatourhq.com.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/benjamintincher@pgatourhq.com.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..4f76eff Binary files /dev/null and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/benjamintincher@pgatourhq.com.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/.swiftpm/xcode/xcuserdata/benjamintincher@pgatourhq.com.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/benjamintincher@pgatourhq.com.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..db691ab --- /dev/null +++ b/.swiftpm/xcode/xcuserdata/benjamintincher@pgatourhq.com.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + CryptorECC.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/Package@swift-4.0.swift b/Package@swift-4.0.swift index 72358bd..61dd5ed 100644 --- a/Package@swift-4.0.swift +++ b/Package@swift-4.0.swift @@ -22,7 +22,7 @@ import PackageDescription var targetDependencies: [Target.Dependency] = [] -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) let CryptoLibUrl = "https://github.com/Kitura/CommonCrypto.git" let CryptoLibVersion: Package.Dependency.Requirement = .upToNextMajor(from: "1.0.200") diff --git a/Package@swift-4.1.swift b/Package@swift-4.1.swift index 72358bd..61dd5ed 100644 --- a/Package@swift-4.1.swift +++ b/Package@swift-4.1.swift @@ -22,7 +22,7 @@ import PackageDescription var targetDependencies: [Target.Dependency] = [] -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) let CryptoLibUrl = "https://github.com/Kitura/CommonCrypto.git" let CryptoLibVersion: Package.Dependency.Requirement = .upToNextMajor(from: "1.0.200") diff --git a/Sources/CryptorECC/ECDecryptable.swift b/Sources/CryptorECC/ECDecryptable.swift index 2a95bff..303efca 100644 --- a/Sources/CryptorECC/ECDecryptable.swift +++ b/Sources/CryptorECC/ECDecryptable.swift @@ -15,7 +15,7 @@ import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL diff --git a/Sources/CryptorECC/ECEncryptable.swift b/Sources/CryptorECC/ECEncryptable.swift index 2c6a515..33395be 100644 --- a/Sources/CryptorECC/ECEncryptable.swift +++ b/Sources/CryptorECC/ECEncryptable.swift @@ -15,7 +15,7 @@ import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL diff --git a/Sources/CryptorECC/ECPrivateKey.swift b/Sources/CryptorECC/ECPrivateKey.swift index 4091cf3..b6301ec 100644 --- a/Sources/CryptorECC/ECPrivateKey.swift +++ b/Sources/CryptorECC/ECPrivateKey.swift @@ -13,7 +13,7 @@ // limitations under the License. // import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL diff --git a/Sources/CryptorECC/ECPublicKey.swift b/Sources/CryptorECC/ECPublicKey.swift index 4189b00..3b9a617 100644 --- a/Sources/CryptorECC/ECPublicKey.swift +++ b/Sources/CryptorECC/ECPublicKey.swift @@ -14,7 +14,7 @@ // import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL diff --git a/Sources/CryptorECC/ECSignable.swift b/Sources/CryptorECC/ECSignable.swift index 194ca48..6591737 100644 --- a/Sources/CryptorECC/ECSignable.swift +++ b/Sources/CryptorECC/ECSignable.swift @@ -15,7 +15,7 @@ import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL diff --git a/Sources/CryptorECC/ECSignature.swift b/Sources/CryptorECC/ECSignature.swift index 143427b..0f5a9a6 100644 --- a/Sources/CryptorECC/ECSignature.swift +++ b/Sources/CryptorECC/ECSignature.swift @@ -15,7 +15,7 @@ import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL diff --git a/Sources/CryptorECC/EllipticCurve.swift b/Sources/CryptorECC/EllipticCurve.swift index 004cc7e..a994050 100644 --- a/Sources/CryptorECC/EllipticCurve.swift +++ b/Sources/CryptorECC/EllipticCurve.swift @@ -15,7 +15,7 @@ import Foundation -#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) +#if !os(Linux) import CommonCrypto #elseif os(Linux) import OpenSSL