| 367 | } |
| 368 | |
| 369 | md_t *md_reg_find(md_reg_t *reg, const char *domain, apr_pool_t *p) |
| 370 | { |
| 371 | find_domain_ctx ctx; |
| 372 | |
| 373 | ctx.domain = domain; |
| 374 | ctx.md = NULL; |
| 375 | |
| 376 | md_reg_do(find_domain, &ctx, reg, p); |
| 377 | if (ctx.md) { |
| 378 | state_init(reg, p, ctx.md); |
| 379 | } |
| 380 | return ctx.md; |
| 381 | } |
| 382 | |
| 383 | typedef struct { |
| 384 | const md_t *md_checked; |
nothing calls this directly
no test coverage detected