forked from mirrors/linphone-iphone
Renew VFS key if unable to find it
This commit is contained in:
parent
0ceb1f9043
commit
5c0092351f
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ import os
|
|||
}
|
||||
guard let secret = decrypt(encryptedText: encryptedKey) else {
|
||||
log("[VFS] Unable to decryt encrypted key.", .error)
|
||||
removeExistingVFSKeyIfAny()
|
||||
return false
|
||||
}
|
||||
Factory.Instance.setVfsEncryption(encryptionModule: 2, secret: secret, secretSize: 32)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue