Lines Matching refs:pool

52     apr_pool_t *pool;
69 apr_pool_t *pool)
72 char *hexval = apr_palloc(pool, (APR_MD5_DIGESTSIZE * 2) + 1);
88 random_cnonce(apr_pool_t *pool)
91 char *buf = apr_palloc(pool, APR_UUID_FORMATTED_LENGTH + 1);
96 return hex_encode((unsigned char*)buf, pool);
104 apr_pool_t *pool)
112 tmp = apr_psprintf(pool, "%s:%s:%s",
120 *out_ha1 = hex_encode(ha1, pool);
130 apr_pool_t *pool)
139 tmp = apr_psprintf(pool, "%s:%s",
146 *out_ha2 = hex_encode(ha2, pool);
160 apr_pool_t *pool)
169 status = build_digest_ha2(&ha2, path, method, digest_info->qop, pool);
173 hdr = apr_psprintf(pool,
184 digest_info->cnonce = random_cnonce(digest_info->pool);
186 hdr = apr_psprintf(pool, "%s, nc=%08x, cnonce=\"%s\", qop=\"%s\"",
196 response = apr_psprintf(pool, "%s:%s:%08x:%s:%s:%s",
204 response = apr_psprintf(pool, "%s:%s:%s",
212 response_hdr_hex = hex_encode(response_hdr, pool);
214 hdr = apr_psprintf(pool, "%s, response=\"%s\"", hdr, response_hdr_hex);
217 hdr = apr_psprintf(pool, "%s, opaque=\"%s\"", hdr,
221 hdr = apr_psprintf(pool, "%s, algorithm=\"%s\"", hdr,
237 apr_pool_t *pool)
269 attrs = apr_pstrdup(pool, auth_attr);
317 pool);
320 apr_pool_create(&cred_pool, pool);
340 digest_info->pool = conn->pool;
341 digest_info->qop = apr_pstrdup(digest_info->pool, qop);
342 digest_info->nonce = apr_pstrdup(digest_info->pool, nonce);
344 digest_info->opaque = apr_pstrdup(digest_info->pool, opaque);
345 digest_info->algorithm = apr_pstrdup(digest_info->pool, algorithm);
346 digest_info->realm = apr_pstrdup(digest_info->pool, realm_name);
347 digest_info->username = apr_pstrdup(digest_info->pool, username);
351 digest_info->realm, digest_info->pool);
365 apr_pool_t *pool)
374 apr_pool_t *pool)
386 authn_info->baton = apr_pcalloc(pool, sizeof(digest_authn_info_t));
420 /* TODO: per request pool? */
431 status = apr_uri_parse(conn->pool, uri, &parsed_uri);
442 conn->pool);
466 apr_pool_t *pool)
482 auth_attr = apr_pstrdup(pool,
485 auth_attr = apr_pstrdup(pool,
540 status = build_digest_ha2(&ha2, req_uri, "", qop, pool);
544 tmp = apr_psprintf(pool, "%s:%s:%s:%s:%s:%s",
548 resp_hdr_hex = hex_encode(resp_hdr, pool);