| 249 | } |
| 250 | |
| 251 | static apr_status_t get_cert(void *baton, int attempt) |
| 252 | { |
| 253 | md_proto_driver_t *d = baton; |
| 254 | md_acme_driver_t *ad = d->baton; |
| 255 | |
| 256 | (void)attempt; |
| 257 | md_log_perror(MD_LOG_MARK, MD_LOG_TRACE1, 0, d->p, "retrieving cert from %s", |
| 258 | ad->order->certificate); |
| 259 | return md_acme_GET(ad->acme, ad->order->certificate, NULL, NULL, on_add_cert, NULL, 1, d); |
| 260 | } |
| 261 | |
| 262 | apr_status_t md_acme_drive_cert_poll(md_proto_driver_t *d, int only_once) |
| 263 | { |
no test coverage detected