This commit is contained in:
Max Goedjen 2025-08-14 20:03:26 -07:00
parent 4748cf8507
commit 578d9ad584
No known key found for this signature in database

View File

@ -106,7 +106,7 @@ extension SecureEnclave {
}
public func sign(data: Data, with secret: Secret, for provenance: SigningRequestProvenance) throws -> Data {
var context: LAContext
let context: LAContext
if let existing = persistedAuthenticationContexts.lockedValue[secret], existing.valid {
context = existing.context
} else {