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

Function md_data_assign_pcopy

modules/md/md_util.c:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void md_data_assign_pcopy(md_data_t *dest, const char *src, apr_size_t src_len, apr_pool_t *p)
144{
145 md_data_clear(dest);
146 dest->data = (src && src_len)? apr_pmemdup(p, src, src_len) : NULL;
147 dest->len = dest->data? src_len : 0;
148}
149
150static const char * const hex_const[] = {
151 "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0a", "0b", "0c", "0d", "0e", "0f",

Callers 2

md_ocsp_init_idFunction · 0.85
md_ocsp_primeFunction · 0.85

Calls 1

md_data_clearFunction · 0.85

Tested by

no test coverage detected