From 0c63926ef1443b631a6da99576b0c0b2fe2d4bf4 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 12 May 2014 21:43:33 -0700 Subject: [PATCH] Fix sign.c test, classic crypto_sign_open() confusion. --- test/default/sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/default/sign.c b/test/default/sign.c index b711027b..c8350902 100644 --- a/test/default/sign.c +++ b/test/default/sign.c @@ -1053,7 +1053,7 @@ TestData test_data[] = { int main(void) { unsigned char sm[1024 + crypto_sign_BYTES]; - unsigned char m[1024]; + unsigned char m[1024 + crypto_sign_BYTES]; unsigned char pk[crypto_sign_PUBLICKEYBYTES]; unsigned char sk[crypto_sign_SECRETKEYBYTES]; char pk_hex[crypto_sign_PUBLICKEYBYTES * 2 + 1];