diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-06-11 07:38:14 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-06-11 07:51:45 +0000 |
commit | 4251cc0b4dd877e5a9619d557f7697fa184c0acd (patch) | |
tree | 2fe49fd7dd1afcbb46be5a5a257b0230676bd1c0 /tests/unit_tests/multiexp.cpp | |
parent | easylogging++: do not delete uninitialized objects (diff) | |
download | monero-4251cc0b4dd877e5a9619d557f7697fa184c0acd.tar.xz |
unit_tests: check for ge_frombytes_vartime failure
CID 1446559
Diffstat (limited to 'tests/unit_tests/multiexp.cpp')
-rw-r--r-- | tests/unit_tests/multiexp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/multiexp.cpp b/tests/unit_tests/multiexp.cpp index 722c568da..212aa0e40 100644 --- a/tests/unit_tests/multiexp.cpp +++ b/tests/unit_tests/multiexp.cpp @@ -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, |