From ab6d91375f54b0bc374eb7dc13c6729242bd2923 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Fri, 7 Jun 2024 09:39:41 +0200 Subject: [PATCH] use json_t NULL variable result Signed-off-by: Hans Zandbelt --- test/check_jose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/check_jose.c b/test/check_jose.c index 75a0acd..c79bfa0 100644 --- a/test/check_jose.c +++ b/test/check_jose.c @@ -310,7 +310,7 @@ START_TEST(test_jwt_decrypt) ck_assert_int_eq(rc, false); ck_assert_ptr_eq(result, NULL); - rc = oauth2_jose_jwt_decrypt(_log, secret1, encrypted1, dummy); + rc = oauth2_jose_jwt_decrypt(_log, secret1, encrypted1, (json_t **)result); ck_assert_int_eq(rc, false); } END_TEST