| 262 | } |
| 263 | |
| 264 | static apr_status_t check_group_dir(md_store_t *store, md_store_group_t group, |
| 265 | apr_pool_t *p, server_rec *s) |
| 266 | { |
| 267 | const char *dir; |
| 268 | apr_status_t rv; |
| 269 | |
| 270 | if (APR_SUCCESS == (rv = md_store_get_fname(&dir, store, group, NULL, NULL, p)) |
| 271 | && APR_SUCCESS == (rv = apr_dir_make_recursive(dir, MD_FPROT_D_UALL_GREAD, p))) { |
| 272 | rv = store_file_ev(s, store, MD_S_FS_EV_CREATED, group, dir, APR_DIR, p); |
| 273 | } |
| 274 | return rv; |
| 275 | } |
| 276 | |
| 277 | static apr_status_t setup_store(md_store_t **pstore, md_mod_conf_t *mc, |
| 278 | apr_pool_t *p, server_rec *s) |
no test coverage detected