aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-29 13:34:20 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-29 13:34:20 -0400
commit1c26ef86a04690120f4f752c7c5018a570ec5880 (patch)
tree719e9177da1d7722e41122cd5b78886766a89497 /tests
parent88c9095743a12cf8fc1793c607ba3a1e4fa86483 (diff)
missed extra argument
Diffstat (limited to 'tests')
-rw-r--r--tests/test.c2
1 files changed, 1 insertions, 1 deletions
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)