Nicolas Iooss
41ed13942b
tests: really test the non-var scalar inverse
...
Function `test_inverse_scalar` contains:
(var ? secp256k1_scalar_inverse_var : secp256k1_scalar_inverse_var)(&l, x); /* l = 1/x */
The two sides of the condition are the same function. This seems to be
an error, as there also exists a non-var function, named
`secp256k1_scalar_inverse`.
Make `test_inverse_scalar` use this other function when `var` is false.
This issue was found using clang's static analyzer, which reported a
"Logic error: Identical expressions in conditional expression" (with
checker `alpha.core.IdenticalExpr`).
2021-06-28 15:21:00 +02:00
..
2020-12-18 00:24:22 +02:00
2021-05-13 19:17:53 +00:00
2020-12-18 00:24:22 +02:00
2021-04-15 17:18:03 +02:00
2021-05-05 09:24:05 -04:00
2021-05-31 20:46:04 +00:00
2021-05-05 09:24:05 -04:00
2021-05-05 09:24:05 -04:00
2021-05-05 09:24:05 -04:00
2021-05-05 09:24:05 -04:00
2021-05-05 09:24:05 -04:00
2020-12-18 00:24:22 +02:00
2021-01-23 21:56:43 -08:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2021-03-15 13:01:52 -07:00
2020-12-18 00:24:22 +02:00
2021-03-26 14:57:01 +00:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2021-03-26 14:57:01 +00:00
2020-12-18 00:24:22 +02:00
2021-03-15 13:01:52 -07:00
2021-03-26 14:57:01 +00:00
2021-05-05 09:24:05 -04:00
2021-05-04 16:17:00 -04:00
2021-03-15 13:01:52 -07:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2021-04-13 11:59:11 -07:00
2021-03-08 09:56:07 -08:00
2021-04-13 11:59:14 -07:00
2021-03-08 09:56:07 -08:00
2021-03-12 10:06:18 -08:00
2020-12-18 00:24:22 +02:00
2021-03-12 10:06:18 -08:00
2020-12-18 00:24:22 +02:00
2021-03-15 13:01:52 -07:00
2021-03-12 10:06:18 -08:00
2020-12-18 00:24:22 +02:00
2021-03-15 13:01:52 -07:00
2021-01-23 14:48:35 -05:00
2021-01-23 14:48:35 -05:00
2021-05-13 19:17:53 +00:00
2020-12-18 00:24:22 +02:00
2021-05-01 17:05:15 -07:00
2020-12-18 00:24:22 +02:00
2021-05-05 09:24:05 -04:00
2021-06-28 15:21:00 +02:00
2021-03-08 09:56:07 -08:00
2021-05-05 09:24:05 -04:00