Skip to content

Commit

Permalink
cfg/provider: use oidc_jwk_list_copy when merging client_keys
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Jul 3, 2024
1 parent 30d9a55 commit 9c0909a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
07/03/2024
- cfg/provider: use oidc_jwk_list_copy when merging client_keys

06/18/2024
- memcache: correct dead server check on APR_NOTFOUND; see #1230; thanks @rpluem-vf

Expand Down
2 changes: 1 addition & 1 deletion src/cfg/provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ void oidc_cfg_provider_merge(apr_pool_t *pool, oidc_provider_t *dst, const oidc_
dst->dpop_mode = add->dpop_mode != OIDC_CONFIG_POS_INT_UNSET ? add->dpop_mode : base->dpop_mode;

dst->client_jwks_uri = add->client_jwks_uri != NULL ? add->client_jwks_uri : base->client_jwks_uri;
dst->client_keys = add->client_keys != NULL ? add->client_keys : base->client_keys;
dst->client_keys = oidc_jwk_list_copy(pool, add->client_keys != NULL ? add->client_keys : base->client_keys);

dst->id_token_signed_response_alg = add->id_token_signed_response_alg != NULL
? add->id_token_signed_response_alg
Expand Down

0 comments on commit 9c0909a

Please sign in to comment.