Lines Matching refs:xs_ctx
1123 X509_STORE_CTX xs_ctx;
1125 if (!X509_STORE_CTX_init(&xs_ctx, chain_store, x, NULL)) {
1129 X509_verify_cert(&xs_ctx);
1132 for (i = 0; i < sk_X509_num(xs_ctx.chain); i++) {
1133 x = sk_X509_value(xs_ctx.chain, i);
1136 X509_STORE_CTX_cleanup(&xs_ctx);
1140 X509_STORE_CTX_cleanup(&xs_ctx);
1156 X509_STORE_CTX xs_ctx;
1198 if (!X509_STORE_CTX_init(&xs_ctx, chain_store, cpk->x509, untrusted)) {
1203 X509_STORE_CTX_set_flags(&xs_ctx,
1206 i = X509_verify_cert(&xs_ctx);
1214 chain = X509_STORE_CTX_get1_chain(&xs_ctx);
1217 i = X509_STORE_CTX_get_error(&xs_ctx);
1221 X509_STORE_CTX_cleanup(&xs_ctx);
1224 X509_STORE_CTX_cleanup(&xs_ctx);