From dc959a97b69534159eb851341a186975207cf0d0 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Tue, 21 Feb 2017 01:03:58 +0100 Subject: [PATCH] c++ conformity --- monocypher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monocypher.c b/monocypher.c index 65313d6..be79723 100644 --- a/monocypher.c +++ b/monocypher.c @@ -938,7 +938,7 @@ static int fe_isnegative(const fe f) static int fe_isnonzero(const fe f) { - static const u8 zero[32]; + static const u8 zero[32] = {0}; u8 s[32]; fe_tobytes(s, f); return crypto_memcmp(s, zero, 32); -- 2.47.3