diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-12 17:01:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-12 17:01:17 -0400 |
commit | b06759edfda17205b8a027b2a369abefcaaba4fc (patch) | |
tree | 59b175ba2529785b8224b796e668553ee6ca8721 /src/ext | |
parent | 7892aff3a8214f424b61f684003dba05ccdd3ba0 (diff) | |
download | tor-b06759edfda17205b8a027b2a369abefcaaba4fc.tar.gz tor-b06759edfda17205b8a027b2a369abefcaaba4fc.zip |
Try to convince coverity not to worry about this loop either
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/ed25519/donna/modm-donna-32bit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ext/ed25519/donna/modm-donna-32bit.h b/src/ext/ed25519/donna/modm-donna-32bit.h index dfd76be668..5f36df655d 100644 --- a/src/ext/ed25519/donna/modm-donna-32bit.h +++ b/src/ext/ed25519/donna/modm-donna-32bit.h @@ -334,7 +334,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; |