Adjust to ObjFW changes
This commit is contained in:
parent
773af9361e
commit
0321101564
2 changed files with 6 additions and 4 deletions
|
@ -55,7 +55,8 @@
|
|||
|
||||
- (void)derivePassword
|
||||
{
|
||||
OFSHA256Hash *siteHash = [OFSHA256Hash cryptoHash];
|
||||
OFSHA256Hash *siteHash = [OFSHA256Hash
|
||||
cryptoHashWithAllowsSwappableMemory: true];
|
||||
size_t passphraseLength, combinedPassphraseLength;
|
||||
char *combinedPassphrase;
|
||||
|
||||
|
@ -89,7 +90,7 @@
|
|||
|
||||
of_scrypt(8, 524288, 2, siteHash.digest,
|
||||
[siteHash.class digestSize], combinedPassphrase,
|
||||
combinedPassphraseLength, _output, _length);
|
||||
combinedPassphraseLength, _output, _length, true);
|
||||
} @finally {
|
||||
of_explicit_memset(combinedPassphrase, 0,
|
||||
combinedPassphraseLength);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue