File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Tests/PackageSigningTests Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public struct SigningIdentityStore {
80
80
}
81
81
82
82
public func find( by label: String ) async -> [ SigningIdentity ] {
83
- #if canImport(Security )
83
+ #if canImport(macOS )
84
84
// Find in Keychain
85
85
let query : [ String : Any ] = [
86
86
// Use kSecClassCertificate instead of kSecClassIdentity because the latter
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ final class SigningEntityTests: XCTestCase {
52
52
}
53
53
}
54
54
55
- #if canImport(Security )
55
+ #if canImport(macOS )
56
56
func testFromKeychainCertificate( ) async throws {
57
57
#if ENABLE_REAL_SIGNING_IDENTITY_TEST
58
58
#else
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ final class SigningIdentityTests: XCTestCase {
77
77
}
78
78
}
79
79
80
- #if canImport(Security )
80
+ #if canImport(macOS )
81
81
func testSigningIdentityFromKeychain( ) async throws {
82
82
#if ENABLE_REAL_SIGNING_IDENTITY_TEST
83
83
#else
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ final class SigningTests: XCTestCase {
167
167
}
168
168
}
169
169
170
- #if canImport(Security )
170
+ #if canImport(macOS )
171
171
func testCMS1_0_0EndToEndWithSigningIdentityFromKeychain( ) async throws {
172
172
#if ENABLE_REAL_SIGNING_IDENTITY_TEST
173
173
#else
@@ -215,7 +215,7 @@ final class SigningTests: XCTestCase {
215
215
}
216
216
#endif
217
217
218
- #if canImport(Security )
218
+ #if canImport(macOS )
219
219
func testCMSEndToEndWithECSigningIdentityFromKeychain( ) async throws {
220
220
#if ENABLE_REAL_SIGNING_IDENTITY_TEST
221
221
#else
@@ -261,7 +261,7 @@ final class SigningTests: XCTestCase {
261
261
}
262
262
#endif
263
263
264
- #if canImport(Security )
264
+ #if canImport(macOS )
265
265
func testCMSEndToEndWithRSASigningIdentityFromKeychain( ) async throws {
266
266
#if ENABLE_REAL_SIGNING_IDENTITY_TEST
267
267
#else
You can’t perform that action at this time.
0 commit comments