Home
last modified time | relevance | path

Searched refs:epr_buf (Results 1 – 5 of 5) sorted by relevance

/dports/security/p5-Net-SAML/zxid-1.42/
H A Dzxcall.c322 char* epr_buf; /* MUST NOT come from stack. */ in zxid_print_session() local
352 epr_buf = read_all_alloc(cf->ctx, "lstses", 1, &epr_len, in zxid_print_session()
354 if (!epr_buf) in zxid_print_session()
357 r = zx_dec_zx_root(cf->ctx, epr_len, epr_buf, "lstses"); in zxid_print_session()
359 ERR("No EPR found. Failed to parse epr_buf(%.*s)", epr_len, epr_buf); in zxid_print_session()
367 ERR("No Metadata %p or ServiceType. Failed to parse epr_buf(%.*s)", md, epr_len, epr_buf); in zxid_print_session()
380 ZX_FREE(cf->ctx, epr_buf); in zxid_print_session()
H A Dzxiddi.c368 char* epr_buf; in zxid_di_query() local
418 epr_buf = read_all_alloc(cf->ctx, "find_svcmd", 1, &epr_len, "%s/%s", mdpath, de->d_name); in zxid_di_query()
419 if (!epr_buf) in zxid_di_query()
422 r = zx_dec_zx_root(cf->ctx, epr_len, epr_buf, "diq epr"); in zxid_di_query()
424 ERR("Failed to XML parse epr_buf(%.*s) file(%s)", epr_len, epr_buf, de->d_name); in zxid_di_query()
425 ZX_FREE(cf->ctx, epr_buf); in zxid_di_query()
432 ERR("No EPR or missing <Metadata>. epr_buf(%.*s) file(%s)", epr_len, epr_buf, de->d_name); in zxid_di_query()
436 ERR("EPR missing <Address>. epr_buf(%.*s) file(%s)", epr_len, epr_buf, de->d_name); in zxid_di_query()
487 ZX_FREE(cf->ctx, epr_buf); /* free the reject EPR */ in zxid_di_query()
H A Dzxumacall.c399 char* epr_buf; /* MUST NOT come from stack. */ in zxid_print_session() local
429 epr_buf = read_all_alloc(cf->ctx, "lstses", 1, &epr_len, in zxid_print_session()
431 if (!epr_buf) in zxid_print_session()
434 r = zx_dec_zx_root(cf->ctx, epr_len, epr_buf, "lstses"); in zxid_print_session()
436 ERR("No EPR found. Failed to parse epr_buf(%.*s)", epr_len, epr_buf); in zxid_print_session()
444 ERR("No Metadata %p or ServiceType. Failed to parse epr_buf(%.*s)", md, epr_len, epr_buf); in zxid_print_session()
457 ZX_FREE(cf->ctx, epr_buf); in zxid_print_session()
H A Dzxidepr.c336 char* epr_buf; /* MUST NOT come from stack. */ in zxid_find_epr() local
381 epr_buf = read_all_alloc(cf->ctx, "find_epr", 1, &epr_len, in zxid_find_epr()
383 if (!epr_buf) in zxid_find_epr()
386 r = zx_dec_zx_root(cf->ctx, epr_len, epr_buf, "find epr"); in zxid_find_epr()
388 ERR("No EPR found. Failed to parse epr_buf(%.*s)", epr_len, epr_buf); in zxid_find_epr()
389 ZX_FREE(cf->ctx, epr_buf); in zxid_find_epr()
401 ERR("No Metadata %p or ServiceType. Failed to parse epr_buf(%.*s)", md, epr_len, epr_buf); in zxid_find_epr()
432 ZX_FREE(cf->ctx, epr_buf); in zxid_find_epr()
H A Dzxidpsso.c181 char* epr_buf; in zxid_gen_boots() local
213 epr_buf = read_all_alloc(cf->ctx, "find_bs_svcmd", 1, &epr_len, "%s/%s", mdpath, de->d_name); in zxid_gen_boots()
214 if (!epr_buf) { in zxid_gen_boots()
216 ZX_FREE(cf->ctx, epr_buf); in zxid_gen_boots()
219 r = zx_dec_zx_root(cf->ctx, epr_len, epr_buf, "gen boots"); in zxid_gen_boots()
221 ERR("Failed to XML parse epr_buf(%.*s) file(%s)", epr_len, epr_buf, de->d_name); in zxid_gen_boots()
222 ZX_FREE(cf->ctx, epr_buf); in zxid_gen_boots()
230 …tadata> %p or <ServiceType>. epr_buf(%.*s) file(%s)", epr->Metadata, epr_len, epr_buf, de->d_name); in zxid_gen_boots()
231 ZX_FREE(cf->ctx, epr_buf); in zxid_gen_boots()
242 ZX_FREE(cf->ctx, epr_buf); in zxid_gen_boots()