diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-06-24 14:13:19 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-06-24 14:13:19 -0500 |
| commit | 14a1b89122406a937d7e0bc3712d6fc8ae675b64 (patch) | |
| tree | 9e4eb8746a1b4985aecb01936b8475cf49975d38 /tests/unit_tests/multiexp.cpp | |
| parent | 4f08d52dfacb62469b44c1ab68a37852011c8e3b (diff) | |
| parent | 4251cc0b4dd877e5a9619d557f7697fa184c0acd (diff) | |
| download | monzero-core-14a1b89122406a937d7e0bc3712d6fc8ae675b64.tar.gz monzero-core-14a1b89122406a937d7e0bc3712d6fc8ae675b64.tar.xz monzero-core-14a1b89122406a937d7e0bc3712d6fc8ae675b64.zip | |
Merge pull request #7752
4251cc0 unit_tests: check for ge_frombytes_vartime failure (moneromooo-monero)
67b97a5 easylogging++: do not delete uninitialized objects (moneromooo-monero)
7b6d959 trezor: fix potential use of uninitialized memory (moneromooo-monero)
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, |
