Lines Matching refs:pool

19 +    pstrdup_escape_nul_bytes(const char *buf, int len, apr_pool_t *pool);
35 + san_copy_t copy_action, apr_pool_t *pool)
39 + /* assert: copy_action == ErrorOnNul || (san_arr && pool) */
48 + *san_arr = apr_array_make(pool, names_count, sizeof(char*));
61 + pool);
78 +static apr_status_t validate_cert_hostname(X509 *server_cert, apr_pool_t *pool)
118 + status = validate_cert_hostname(server_cert, ctx->pool);
152 +pstrdup_escape_nul_bytes(const char *buf, int len, apr_pool_t *pool)
165 + ret = apr_pstrdup(pool, buf);
172 + ret = pos = apr_palloc(pool, len + 2 * nul_count + 1);
191 convert_X509_NAME_to_table(X509_NAME *org, apr_pool_t *pool)
197 - apr_hash_set(tgt, "CN", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
199 + pstrdup_escape_nul_bytes(buf, ret, pool));
204 - apr_hash_set(tgt, "E", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
206 + pstrdup_escape_nul_bytes(buf, ret, pool));
211 - apr_hash_set(tgt, "OU", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
213 + pstrdup_escape_nul_bytes(buf, ret, pool));
218 - apr_hash_set(tgt, "O", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
220 + pstrdup_escape_nul_bytes(buf, ret, pool));
225 - apr_hash_set(tgt, "L", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
227 + pstrdup_escape_nul_bytes(buf, ret, pool));
232 - apr_hash_set(tgt, "ST", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
234 + pstrdup_escape_nul_bytes(buf, ret, pool));
239 - apr_hash_set(tgt, "C", APR_HASH_KEY_STRING, apr_pstrdup(pool, buf));
241 + pstrdup_escape_nul_bytes(buf, ret, pool));
262 - apr_array_header_t *san_arr = apr_array_make(pool, names_count,
264 + if (!get_subject_alt_names(&san_arr, cert->ssl_cert, EscapeNulAndCopy, pool))
272 - p = apr_pstrmemdup(pool, (const char *)nm->d.ia5->data,
305 /* assert: copy_action == ErrorOnNul || (san_arr && pool) */