Merge pull request #2288 from SparkiDev/ed25519_string_fix

Fix length of buffer to match string length for g++
This commit is contained in:
toddouska
2019-06-24 15:39:52 -07:00
committed by GitHub

View File

@ -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