summaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/testcode/unitmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound/testcode/unitmain.c')
-rw-r--r--usr.sbin/unbound/testcode/unitmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/unbound/testcode/unitmain.c b/usr.sbin/unbound/testcode/unitmain.c
index c18be7be3a0..16aa8845021 100644
--- a/usr.sbin/unbound/testcode/unitmain.c
+++ b/usr.sbin/unbound/testcode/unitmain.c
@@ -861,6 +861,7 @@ void ecdsa_evp_workaround_init(void);
int
main(int argc, char* argv[])
{
+ checklock_start();
log_init(NULL, 0, NULL);
if(argc != 1) {
printf("usage: %s\n", argv[0]);
@@ -888,7 +889,6 @@ main(int argc, char* argv[])
if(NSS_NoDB_Init(".") != SECSuccess)
fatal_exit("could not init NSS");
#endif /* HAVE_SSL or HAVE_NSS*/
- checklock_start();
authzone_test();
neg_test();
rnd_test();