Do not call exit() upon verifynsec() errors
Make verifynsec() return the verification result through a separate pointer, thus making it possible to signal errors using function return value. Replace all check_result() and fprintf() calls inside verifynsec() with zoneverify_log_error() calls and error handling code. Modify the call site of verifynsec() so that its errors are properly handled. Rename "tresult" to "tvresult" in order to improve variable naming consistency between functions.
Showing with 51 additions and 25 deletions