Secp256k1::check() fails
bojlahg opened this issue · comments
In my case fixed by replacing "return (int)((64-LZC(t.bits64[i])) + i64);" with "return (int)((1+LZC(t.bits64[i])) + i64);" in Int::GetBitLength().
It happens if system has no support of LZCNT instruction.