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

Function old_digest

modules/aaa/mod_auth_digest.c:1484–1494  ·  view source on GitHub ↗

RFC-2069 */

Source from the content-addressed store, hash-verified

1482
1483/* RFC-2069 */
1484static const char *old_digest(const request_rec *r,
1485 const digest_header_rec *resp)
1486{
1487 const char *ha2;
1488
1489 ha2 = ap_md5(r->pool, (unsigned char *)apr_pstrcat(r->pool, resp->method, ":",
1490 resp->uri, NULL));
1491 return ap_md5(r->pool,
1492 (unsigned char *)apr_pstrcat(r->pool, resp->ha1, ":",
1493 resp->nonce, ":", ha2, NULL));
1494}
1495
1496/* RFC-2617 */
1497static const char *new_digest(const request_rec *r,

Callers 1

authenticate_digest_userFunction · 0.85

Calls 1

ap_md5Function · 0.85

Tested by

no test coverage detected