MCPcopy Create free account
hub / github.com/apache/httpd / ocsp_req_assign_der

Function ocsp_req_assign_der

modules/md/md_ocsp.c:803–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803static 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
815static apr_status_t next_todo(md_http_request_t **preq, void *baton,
816 md_http_t *http, int in_flight)

Callers 1

next_todoFunction · 0.85

Calls 1

md_data_clearFunction · 0.85

Tested by

no test coverage detected