You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2023/05/22 17:24:46 UTC

svn commit: r1910001 - /apr/apr/trunk/test/testjose.c

Author: minfrin
Date: Mon May 22 17:24:46 2023
New Revision: 1910001

URL: http://svn.apache.org/viewvc?rev=1910001&view=rev
Log:
apr_jose: Pass NULL context within tests.

Modified:
    apr/apr/trunk/test/testjose.c

Modified: apr/apr/trunk/test/testjose.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testjose.c?rev=1910001&r1=1910000&r2=1910001&view=diff
==============================================================================
--- apr/apr/trunk/test/testjose.c (original)
+++ apr/apr/trunk/test/testjose.c Mon May 22 17:24:46 2023
@@ -894,7 +894,7 @@ static void test_jose_encode_jwe_compact
     bb = apr_brigade_create(p, ba);
 
     jdata = apr_jose_data_make(NULL, "JWT", pl, sizeof(pl), p);
-    recipient = apr_jose_recipient_make(NULL, header, p);
+    recipient = apr_jose_recipient_make(NULL, header, NULL, p);
     encryption = apr_jose_encryption_make(NULL, NULL, protected_header, p);
     jose = apr_jose_jwe_make(NULL, recipient, NULL, encryption, jdata, p);