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

Function ap_pbase64encode

server/util.c:2487–2496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2485}
2486
2487AP_DECLARE(char *) ap_pbase64encode(apr_pool_t *p, char *string)
2488{
2489 char *encoded;
2490 int l = strlen(string);
2491
2492 encoded = (char *) apr_palloc(p, apr_base64_encode_len(l));
2493 apr_base64_encode(encoded, string, l);
2494
2495 return encoded;
2496}
2497
2498/* we want to downcase the type/subtype for comparison purposes
2499 * but nothing else because ;parameter=foo values are case sensitive.

Callers 6

authenticate_basic_fakeFunction · 0.85
add_proxyFunction · 0.85
ssl_hook_UserCheckFunction · 0.85
handle_echoFunction · 0.85
handle_setFunction · 0.85
base64_funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected