[fnd::ecdsa] Fix bug in sEcdsa240Point::operator=().

This commit is contained in:
jakcron 2018-08-14 15:24:10 +08:00
parent e7416b1c16
commit bf5f90a4b8

View file

@ -21,8 +21,8 @@ namespace fnd
void operator=(const sEcdsa240Point& other) void operator=(const sEcdsa240Point& other)
{ {
memcpy(this->r, r, kEcdsa240Size); memcpy(this->r, other.r, kEcdsa240Size);
memcpy(this->s, s, kEcdsa240Size); memcpy(this->s, other.s, kEcdsa240Size);
} }
bool operator==(const sEcdsa240Point& other) const bool operator==(const sEcdsa240Point& other) const