Tell coverity to tolerate ed25519_verify

This commit is contained in:
Nick Mathewson 2015-07-12 16:59:37 -04:00
parent eb4604c35a
commit 920c63877c

View File

@ -68,6 +68,7 @@ ed25519_verify(const unsigned char *x, const unsigned char *y, size_t len) {
size_t differentbits = 0;
while (len--)
differentbits |= (*x++ ^ *y++);
/*coverity[overflow]*/
return (int) (1 & ((differentbits - 1) >> 8));
}