From: Loup Vaillant Date: Thu, 23 Aug 2018 18:25:48 +0000 (+0200) Subject: C++ compatibility X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=d9cc2aea29158971ed4b7dc074efdcb35e7183d5;p=Monocypher.git C++ compatibility --- diff --git a/tests/test.c b/tests/test.c index 88a7d68..788f7fa 100644 --- a/tests/test.c +++ b/tests/test.c @@ -614,7 +614,7 @@ static int p_eddsa_roundtrip() // reject forgeries u8 zero [64] = {0}; - u8 forgery[64]; FOR (i, 0, 64) { forgery[i] = signature[i] + 1; } + u8 forgery[64]; FOR (j, 0, 64) { forgery[j] = signature[j] + 1; } status |= !crypto_check(zero , pk, message, i); status |= !crypto_check(forgery, pk, message, i); }