Skip to content

Commit

Permalink
always refresh ext signers list
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Dec 27, 2024
1 parent efb4bc9 commit e1ca5f9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions library/ziti.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,21 +666,6 @@ static void ext_jwt_singers_cb(ziti_jwt_signer_array signers, const ziti_error *
}

int ziti_get_ext_jwt_signers(ziti_context ztx, ziti_ext_signers_cb cb, void *ctx) {
// if (ztx == NULL || cb == NULL)
// return ZITI_INVALID_STATE;
//
// if (model_map_size(&ztx->ext_signers) > 0) {
// ziti_jwt_signer_array arr = calloc(model_map_size(&ztx->ext_signers) + 1, sizeof(ziti_jwt_signer*));
//
// int i = 0;
// MODEL_MAP_FOR(it, ztx->ext_signers) {
// arr[i++] = model_map_it_value(it);
// }
// cb(ztx, ZITI_OK, arr, ctx);
// free(arr);
// return ZITI_OK;
// }

NEWP(req, struct ztx_req_s);
req->ztx = ztx;
req->cb = cb;
Expand Down

0 comments on commit e1ca5f9

Please sign in to comment.