RFC-2069 */
| 1482 | |
| 1483 | /* RFC-2069 */ |
| 1484 | static 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 */ |
| 1497 | static const char *new_digest(const request_rec *r, |
no test coverage detected