MCPcopy Create free account
hub / github.com/apache/httpd / alt_names

Function alt_names

modules/md/md_crypt.c:1764–1775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762/* certificate signing requests */
1763
1764static const char *alt_names(apr_array_header_t *domains, apr_pool_t *p)
1765{
1766 const char *alts = "", *sep = "", *domain;
1767 int i;
1768
1769 for (i = 0; i < domains->nelts; ++i) {
1770 domain = APR_ARRAY_IDX(domains, i, const char *);
1771 alts = apr_psprintf(p, "%s%sDNS:%s", alts, sep, domain);
1772 sep = ",";
1773 }
1774 return alts;
1775}
1776
1777static apr_status_t add_ext(X509 *x, int nid, const char *value, apr_pool_t *p)
1778{

Callers 2

sk_add_alt_namesFunction · 0.85
md_cert_self_signFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected