Searched refs:certctx (Results 1 – 1 of 1) sorted by relevance
1030 X509_STORE_CTX *certctx; in cms_signeddata_create() local1037 if ((certctx = X509_STORE_CTX_new()) == NULL) in cms_signeddata_create()1041 X509_STORE_CTX_init(certctx, certstore, cert, in cms_signeddata_create()1043 X509_STORE_CTX_set0_trusted_stack(certctx, id_cryptoctx->trustedCAs); in cms_signeddata_create()1045 if (X509_verify_cert(certctx) <= 0) { in cms_signeddata_create()1047 X509_verify_cert_error_string(X509_STORE_CTX_get_error(certctx))); in cms_signeddata_create()1052 certstack = X509_STORE_CTX_get1_chain(certctx); in cms_signeddata_create()1061 X509_STORE_CTX_free(certctx); in cms_signeddata_create()