free(daemon->pidfile);
free(daemon->env);
free(daemon);
+ /* libcrypto cleanup */
+ /* CONF_modules_unload(1); */
+ EVP_cleanup();
+ /* ENGINE_cleanup(); */
+ CRYPTO_cleanup_all_ex_data(); /* safe, no more threads right now */
+ ERR_remove_state(0);
ERR_free_strings();
checklock_stop();
}
worker_mem_report(struct worker* worker, struct serviced_query* cur_serv)
{
/* debug func in validator module */
- size_t val_kcache_get_mem(void*);
size_t total, front, back, mesh, msg, rrset, infra, ac, superac;
size_t me, iter, val;
int i;
- memory accounting fixup for outside network tcp callbacks.
- memory accounting for iterator fixed storage.
- key cache size and slabs config options.
+ - lib crypto cleanups at exit.
29 August 2007: Wouter
- test tool to sign rrsets for testing validator with.
/**
* Debug helper routine that assists worker in determining memory in
* use.
- * @param me: mod_env value
+ * @param env: module environment
+ * @param id: module id.
* @return memory in use in bytes.
*/
static size_t