mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
var->let
This commit is contained in:
parent
4748cf8507
commit
578d9ad584
@ -106,7 +106,7 @@ extension SecureEnclave {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func sign(data: Data, with secret: Secret, for provenance: SigningRequestProvenance) throws -> Data {
|
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 {
|
if let existing = persistedAuthenticationContexts.lockedValue[secret], existing.valid {
|
||||||
context = existing.context
|
context = existing.context
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user