From 676950d206dc0ae5f1696fed37212d4fbdfe9080 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 10 Mar 2016 16:43:42 +0100 Subject: [PATCH] Remove superflous constant type qualifiers --- src/libsodium/crypto_sign/ed25519/ref10/open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libsodium/crypto_sign/ed25519/ref10/open.c b/src/libsodium/crypto_sign/ed25519/ref10/open.c index d1aa7335..02e2c017 100644 --- a/src/libsodium/crypto_sign/ed25519/ref10/open.c +++ b/src/libsodium/crypto_sign/ed25519/ref10/open.c @@ -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; } }