summaryrefslogtreecommitdiff
path: root/testcode/unitmain.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-12-03 05:35:06 +0000
committerCy Schubert <cy@FreeBSD.org>2021-12-03 05:35:06 +0000
commit68965ba955db755e0cf7c57882a1e99da5c47644 (patch)
treef8e722161681a766f4425cefdbe71f32f647fd14 /testcode/unitmain.c
parent625f1c1312fb7defbd148c8ba121a0cf058707ef (diff)
Diffstat (limited to 'testcode/unitmain.c')
-rw-r--r--testcode/unitmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcode/unitmain.c b/testcode/unitmain.c
index c18be7be3a08..16aa88450210 100644
--- a/testcode/unitmain.c
+++ b/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();