Searched refs:xs_ctx (Results 1 – 2 of 2) sorted by relevance
1060 X509_STORE_CTX *xs_ctx = NULL; in ssl_build_cert_chain() local1093 xs_ctx = X509_STORE_CTX_new_ex(real_ctx->libctx, real_ctx->propq); in ssl_build_cert_chain()1094 if (xs_ctx == NULL) { in ssl_build_cert_chain()1098 if (!X509_STORE_CTX_init(xs_ctx, chain_store, cpk->x509, untrusted)) { in ssl_build_cert_chain()1103 X509_STORE_CTX_set_flags(xs_ctx, in ssl_build_cert_chain()1106 i = X509_verify_cert(xs_ctx); in ssl_build_cert_chain()1114 chain = X509_STORE_CTX_get1_chain(xs_ctx); in ssl_build_cert_chain()1116 i = X509_STORE_CTX_get_error(xs_ctx); in ssl_build_cert_chain()1156 X509_STORE_CTX_free(xs_ctx); in ssl_build_cert_chain()
1029 X509_STORE_CTX *xs_ctx = X509_STORE_CTX_new_ex(sctx->libctx, in ssl_add_cert_chain() local1032 if (xs_ctx == NULL) { in ssl_add_cert_chain()1037 if (!X509_STORE_CTX_init(xs_ctx, chain_store, x, NULL)) { in ssl_add_cert_chain()1038 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()1049 (void)X509_verify_cert(xs_ctx); in ssl_add_cert_chain()1052 chain = X509_STORE_CTX_get0_chain(xs_ctx); in ssl_add_cert_chain()1061 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()1072 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()1076 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()
Completed in 12 milliseconds