From 69d9553ec25818671c7a0bf609b69df5c3b2448e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 14 Jan 2015 19:59:44 +0100 Subject: [PATCH] Test crypto_sign_open() with NULL as a pointer to the message size --- 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 8c516527..9d2fcd47 100644 --- a/test/default/sign.c +++ b/test/default/sign.c @@ -1091,7 +1091,7 @@ int main(void) printf("signature failure: [%u]\n", i); continue; } - if (crypto_sign_open(m, &mlen, sm, smlen, test_data[i].pk) != 0) { + if (crypto_sign_open(m, NULL, sm, smlen, test_data[i].pk) != 0) { printf("crypto_sign_open() failure: [%u]\n", i); continue; }