Home
last modified time | relevance | path

Searched refs:xs_ctx (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/ssl/
Dssl_cert.c762 X509_STORE_CTX *xs_ctx = NULL; in ssl_build_cert_chain() local
796 xs_ctx = X509_STORE_CTX_new(); in ssl_build_cert_chain()
797 if (xs_ctx == NULL) { in ssl_build_cert_chain()
801 if (!X509_STORE_CTX_init(xs_ctx, chain_store, cpk->x509, untrusted)) { in ssl_build_cert_chain()
806 X509_STORE_CTX_set_flags(xs_ctx, in ssl_build_cert_chain()
809 i = X509_verify_cert(xs_ctx); in ssl_build_cert_chain()
817 chain = X509_STORE_CTX_get1_chain(xs_ctx); in ssl_build_cert_chain()
820 i = X509_STORE_CTX_get_error(xs_ctx); in ssl_build_cert_chain()
860 X509_STORE_CTX_free(xs_ctx); in ssl_build_cert_chain()
/third_party/openssl/ssl/statem/
Dstatem_lib.c940 X509_STORE_CTX *xs_ctx = X509_STORE_CTX_new(); in ssl_add_cert_chain() local
942 if (xs_ctx == NULL) { in ssl_add_cert_chain()
947 if (!X509_STORE_CTX_init(xs_ctx, chain_store, x, NULL)) { in ssl_add_cert_chain()
948 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()
959 (void)X509_verify_cert(xs_ctx); in ssl_add_cert_chain()
962 chain = X509_STORE_CTX_get0_chain(xs_ctx); in ssl_add_cert_chain()
971 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()
981 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()
985 X509_STORE_CTX_free(xs_ctx); in ssl_add_cert_chain()