This commit is contained in:
Kyle Spearrin 2020-02-12 09:40:16 -05:00
parent 1fb3698ba2
commit 558b10499b

View file

@ -786,7 +786,7 @@ namespace Bit.Core.Services
var okm = new byte[size]; var okm = new byte[size];
var previousT = new byte[0]; var previousT = new byte[0];
var n = (int)Math.Ceiling((double)size / hashLen); var n = (int)Math.Ceiling((double)size / hashLen);
for(int i = 0; i < n; i++) for(var i = 0; i < n; i++)
{ {
var t = new byte[previousT.Length + info.Length + 1]; var t = new byte[previousT.Length + info.Length + 1];
previousT.CopyTo(t, 0); previousT.CopyTo(t, 0);