commit 7892aff3a8214f424b61f684003dba05ccdd3ba0 Author: Nick Mathewson nickm@torproject.org Date: Sun Jul 12 17:00:45 2015 -0400
Try to convince coverity not to worryh about this loop --- src/ext/ed25519/donna/modm-donna-64bit.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ext/ed25519/donna/modm-donna-64bit.h b/src/ext/ed25519/donna/modm-donna-64bit.h index a47a38a..b22df2b 100644 --- a/src/ext/ed25519/donna/modm-donna-64bit.h +++ b/src/ext/ed25519/donna/modm-donna-64bit.h @@ -240,7 +240,8 @@ contract256_window4_modm(signed char r[64], const bignum256modm in) { static void contract256_slidingwindow_modm(signed char r[256], const bignum256modm s, int windowsize) { int i,j,k,b; - int m = (1 << (windowsize - 1)) - 1, soplen = 256; + int m = (1 << (windowsize - 1)) - 1; + const int soplen = 256; signed char *bits = r; bignum256modm_element_t v;
tor-commits@lists.torproject.org