| 801 | } |
| 802 | |
| 803 | static apr_status_t ocsp_req_assign_der(md_data_t *d, OCSP_REQUEST *ocsp_req) |
| 804 | { |
| 805 | int len; |
| 806 | |
| 807 | md_data_clear(d); |
| 808 | len = i2d_OCSP_REQUEST(ocsp_req, (unsigned char**)&d->data); |
| 809 | if (len < 0) return APR_ENOMEM; |
| 810 | d->len = (apr_size_t)len; |
| 811 | d->free_data = md_openssl_free; |
| 812 | return APR_SUCCESS; |
| 813 | } |
| 814 | |
| 815 | static apr_status_t next_todo(md_http_request_t **preq, void *baton, |
| 816 | md_http_t *http, int in_flight) |
no test coverage detected