mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Additional harnessing on VFS activation
This commit is contained in:
parent
5f640551dd
commit
be282ff47b
1 changed files with 4 additions and 1 deletions
|
|
@ -186,7 +186,10 @@ import os
|
|||
log("[VFS] Unable to retrieve encrypted key.", .error)
|
||||
return false
|
||||
}
|
||||
let secret = decrypt(encryptedText: encryptedKey)
|
||||
guard let secret = decrypt(encryptedText: encryptedKey) else {
|
||||
log(log: "[VFS] Unable to decryt encrypted key.", level: .error)
|
||||
return false
|
||||
}
|
||||
Factory.Instance.setVfsEncryption(encryptionModule: 2, secret: secret, secretSize: 32)
|
||||
log("[VFS] activated", .info)
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue