Lines Matching refs:cert_ctx
220 X509_STORE_CTX *cert_ctx = NULL;
270 cert_ctx = X509_STORE_CTX_new_ex(ossl_pkcs7_ctx_get0_libctx(p7_ctx),
272 if (cert_ctx == NULL)
278 if (!X509_STORE_CTX_init(cert_ctx, store, signer,
283 if (!X509_STORE_CTX_set_default(cert_ctx, "smime_sign"))
285 } else if (!X509_STORE_CTX_init(cert_ctx, store, signer, NULL)) {
290 X509_STORE_CTX_set0_crls(cert_ctx, p7->d.sign->crl);
291 i = X509_verify_cert(cert_ctx);
293 j = X509_STORE_CTX_get_error(cert_ctx);
371 X509_STORE_CTX_free(cert_ctx);