Do not use static variables in lib/dns/zoneverify.c
Make dns_zoneverify_dnssec() eligible for multithreaded use by replacing the static variables it accesses with a stack-allocated structure containing these variables. Implement setup and cleanup routines for that structure, ensuring no error in these routines causes exit() to be called any more. Pass a pointer to that structure to functions requiring access to variables which were previously static.
Showing with 83 additions and 50 deletions