From e1b03aa0560bed1a4fa470ae7a1267fdad30adbc Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Thu, 20 Jun 2019 17:01:16 +1000 Subject: [PATCH] Fix length of buffer to match string length for g++ --- wolfcrypt/src/ed25519.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/ed25519.c b/wolfcrypt/src/ed25519.c index 279b46ff8..255cd29f2 100644 --- a/wolfcrypt/src/ed25519.c +++ b/wolfcrypt/src/ed25519.c @@ -48,7 +48,7 @@ #if defined(HAVE_ED25519_SIGN) || defined(HAVE_ED25519_VERIFY) #define ED25519CTX_SIZE 32 -static const byte ed25519Ctx[ED25519CTX_SIZE] = +static const byte ed25519Ctx[ED25519CTX_SIZE+1] = "SigEd25519 no Ed25519 collisions"; #endif