Searched refs:add_cert (Results 1 – 3 of 3) sorted by relevance
56 tree->add_cert(hostnames[idx], idx); in test_shrpx_tls_create_lookup_tree()90 tree->add_cert(names[idx], idx); in test_shrpx_tls_create_lookup_tree()
153 ssize_t add_cert(const StringRef &hostname, size_t index);
1501 ssize_t CertLookupTree::add_cert(const StringRef &hostname, size_t idx) { in add_cert() function in shrpx::tls::CertLookupTree1682 auto idx = lt->add_cert(StringRef{std::begin(buf), end_buf}, in cert_lookup_tree_add_ssl_ctx()1724 lt->add_cert(StringRef{std::begin(buf), end_buf}, indexed_ssl_ctx.size()); in cert_lookup_tree_add_ssl_ctx()