[fnd::ecdsa] Fix bug in copy operator.

This commit is contained in:
jakcron 2018-08-20 19:23:55 +08:00
parent 7afd6a582b
commit 9b759b8d35

View file

@ -43,7 +43,7 @@ namespace fnd
void operator=(const sEcdsa240PrivateKey& other)
{
memcpy(this->k, k, kEcdsa240Size);
memcpy(this->k, other.k, kEcdsa240Size);
}
bool operator==(const sEcdsa240PrivateKey& other) const