"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/md_acme.c" between
mod_md-2.4.2.tar.gz and mod_md-2.4.4.tar.gz

About: mod_md is an Apache module that adds Let's Encrypt (ACME) support.

md_acme.c  (mod_md-2.4.2):md_acme.c  (mod_md-2.4.4)
skipping to change at line 227 skipping to change at line 227
return APR_SUCCESS; return APR_SUCCESS;
} }
/******************************************************************************* *******************/ /******************************************************************************* *******************/
/* ACME requests with nonce handling */ /* ACME requests with nonce handling */
static apr_status_t acmev2_req_init(md_acme_req_t *req, md_json_t *jpayload) static apr_status_t acmev2_req_init(md_acme_req_t *req, md_json_t *jpayload)
{ {
md_data_t payload; md_data_t payload;
md_data_null(&payload);
if (!req->acme->acct) { if (!req->acme->acct) {
return APR_EINVAL; return APR_EINVAL;
} }
if (jpayload) { if (jpayload) {
payload.data = md_json_writep(jpayload, req->p, MD_JSON_FMT_COMPACT); payload.data = md_json_writep(jpayload, req->p, MD_JSON_FMT_COMPACT);
if (!payload.data) { if (!payload.data) {
return APR_EINVAL; return APR_EINVAL;
} }
} }
else { else {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)