From 1c26ef86a04690120f4f752c7c5018a570ec5880 Mon Sep 17 00:00:00 2001 From: vnugent Date: Wed, 29 May 2024 13:34:20 -0400 Subject: missed extra argument --- tests/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test.c b/tests/test.c index 7ed7ea5..084ac13 100644 --- a/tests/test.c +++ b/tests/test.c @@ -319,7 +319,7 @@ static int TestPublicApiArgumentValidation() TEST(NCValidateSecretKey(NULL, &secKey), ARG_ERROR_POS_0) TEST(NCValidateSecretKey(ctx, NULL), ARG_ERROR_POS_1) /* Should fail with a zero key */ - TEST(NCValidateSecretKey(ctx, NCToSecKey(zero32), NULL), E_OPERATION_FAILED) + TEST(NCValidateSecretKey(ctx, NCToSecKey(zero32)), E_OPERATION_FAILED) /*Verify sig64 args test*/ TEST(NCVerifyDigest(NULL, &pubKey, zero32, sig64), ARG_ERROR_POS_0) -- cgit