Skip to content

Commit

Permalink
use json_t NULL variable result
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Jun 7, 2024
1 parent 45d9c1c commit ab6d913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/check_jose.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab6d913

Please sign in to comment.