mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-11-10 03:35:59 +01:00
Build with Xcode 13 (#226)
This commit is contained in:
1 parent
9d6bbd2a04
commit
3f04126d00
5 files changed
+9
-8
No files matched your search
@@ -50,7 +50,7 @@ extension Stub {
|
||||
|
||||
public func sign(data: Data, with secret: Secret, for provenance: SigningRequestProvenance) throws -> Data {
|
||||
guard !shouldThrow else {
|
||||
throw NSError()
|
||||
throw NSError(domain: "test", code: 0, userInfo: nil)
|
||||
}
|
||||
let privateKey = SecKeyCreateWithData(secret.privateKey as CFData, [
|
||||
kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
|
||||
|
||||
Reference in new issue
Block a user