sergey-raevskiy/librsync-csharp

StrongSum::Equals(StrongSum other) only compares the first byte multiple times instead of each byte

Closed this issue · 1 comments

StrongSum line#39:

  for (var i=0; i<sum.Length; i++)
    if (*t != *o)
      return false;

should be:

    if (t[i] != o[i])

Thanks, this is epic fail! Fixed at fd6de17