adaptions to changes in KeePassLib

This commit is contained in:
Philipp Crocoll
2016-08-31 22:18:32 +02:00
parent 2e8c76d0c4
commit 6c043e9b79
6 changed files with 57 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
// Try to use the native library first
if(NativeLib.TransformKey256(pbNewKey, pbKeySeed32, uNumRounds))
return CryptoUtil.HashSha256(pbNewKey);
if(TransformKeyManaged(pbNewKey, pbKeySeed32, uNumRounds))
return CryptoUtil.HashSha256(pbNewKey);
}