1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00

Remove superflous constant type qualifiers

This commit is contained in:
Frank Denis 2016-03-10 16:43:42 +01:00
parent ab2f22137e
commit 676950d206

View File

@ -63,12 +63,12 @@ small_order(const unsigned char p[32])
size_t i, j;
unsigned char c;
for (i = 0U; i < sizeof blacklist / sizeof blacklist[0]; i++) {
c = 0U;
for (i = 0; i < sizeof blacklist / sizeof blacklist[0]; i++) {
c = 0;
for (j = 0; j < 32; j++) {
c |= p[j] ^ blacklist[i][j];
}
if (c == 0U) {
if (c == 0) {
return 1;
}
}