When deleting a crt-list line through a "del ssl crt-list" call on the
CLI, we ended up free'ing the corresponding ckch instances without fully
clearing their contents. It left some dangling references on other
objects because the attache SSL_CTX was not deleted, as well as all the
ex_data referenced by it (OCSP responses for instance).
This patch can be backported up to branch 2.4.
LIST_DELETE(&link_ref->list);
free(link_ref);
}
- free(inst);
+ ckch_inst_free(inst);
}
crtlist_free_filters(entry->filters);