unit_tests: check for ge_frombytes_vartime failure

CID 1446559
This commit is contained in:
moneromooo-monero 2021-06-11 07:38:14 +00:00
parent 67b97a5f16
commit 4251cc0b4d
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 4 additions and 4 deletions

View file

@ -260,7 +260,7 @@ TEST(multiexp, scalarmult_triple)
rct::key res;
ge_p3 Gp3;
ge_frombytes_vartime(&Gp3, rct::G.bytes);
ASSERT_EQ(ge_frombytes_vartime(&Gp3, rct::G.bytes), 0);
static const rct::key scalars[] = {
rct::Z,