Lines Matching refs:pem_ctx
322 struct pem_ctx {
332 struct pem_ctx *pem_ctx = (struct pem_ctx*)ctx;
343 ret = (*formats[j].func)(context, NULL, pem_ctx->c,
345 if (ret && (pem_ctx->flags & HX509_CERTS_UNPROTECT_ALL)) {
375 struct pem_ctx pem_ctx;
377 pem_ctx.flags = flags;
378 pem_ctx.c = NULL;
413 ret = _hx509_collector_alloc(context, lock, &pem_ctx.c);
434 ret = hx509_pem_read(context, f, pem_func, &pem_ctx);
454 ret = (*formats[i].func)(context, p, pem_ctx.c, NULL, ptr, length, ai);
466 ret = _hx509_collector_collect_certs(context, pem_ctx.c, &ksf->certs);
470 ret = _hx509_collector_collect_private_keys(context, pem_ctx.c, &keys);
487 if (pem_ctx.c)
488 _hx509_collector_free(pem_ctx.c);