Lines Matching refs:ci
30 CMS_ContentInfo *ci; in IMPLEMENT_ASN1_PRINT_FUNCTION() local
33 ci = (CMS_ContentInfo *)ASN1_item_d2i_ex((ASN1_VALUE **)a, in, len, in IMPLEMENT_ASN1_PRINT_FUNCTION()
37 if (ci != NULL) { in IMPLEMENT_ASN1_PRINT_FUNCTION()
39 ossl_cms_resolve_libctx(ci); in IMPLEMENT_ASN1_PRINT_FUNCTION()
42 return ci; in IMPLEMENT_ASN1_PRINT_FUNCTION()
52 CMS_ContentInfo *ci; in CMS_ContentInfo_new_ex() local
54 ci = (CMS_ContentInfo *)ASN1_item_new_ex(ASN1_ITEM_rptr(CMS_ContentInfo), in CMS_ContentInfo_new_ex()
56 if (ci != NULL) { in CMS_ContentInfo_new_ex()
57 ci->ctx.libctx = libctx; in CMS_ContentInfo_new_ex()
58 ci->ctx.propq = NULL; in CMS_ContentInfo_new_ex()
60 ci->ctx.propq = OPENSSL_strdup(propq); in CMS_ContentInfo_new_ex()
61 if (ci->ctx.propq == NULL) { in CMS_ContentInfo_new_ex()
62 CMS_ContentInfo_free(ci); in CMS_ContentInfo_new_ex()
63 ci = NULL; in CMS_ContentInfo_new_ex()
67 return ci; in CMS_ContentInfo_new_ex()
85 void ossl_cms_resolve_libctx(CMS_ContentInfo *ci) in ossl_cms_resolve_libctx() argument
90 const CMS_CTX *ctx = ossl_cms_get0_cmsctx(ci); in ossl_cms_resolve_libctx()
94 ossl_cms_SignerInfos_set_cmsctx(ci); in ossl_cms_resolve_libctx()
95 ossl_cms_RecipientInfos_set_cmsctx(ci); in ossl_cms_resolve_libctx()
97 pcerts = cms_get0_certificate_choices(ci); in ossl_cms_resolve_libctx()