summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound/testcode/unitmain.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2020-08-24 09:41:10 +0000
committersthen <sthen@openbsd.org>2020-08-24 09:41:10 +0000
commitd7b4a113f48d3cae3cccd7d78fe0f46e205e19d1 (patch)
tree074a9c836e4fcbe2882dd5c28ec7b46bf4ded1c4 /usr.sbin/unbound/testcode/unitmain.c
parentClarify that tpmr(4) does not aggregate (diff)
downloadwireguard-openbsd-d7b4a113f48d3cae3cccd7d78fe0f46e205e19d1.tar.xz
wireguard-openbsd-d7b4a113f48d3cae3cccd7d78fe0f46e205e19d1.zip
update to unbound 1.11.0, tests tb@ dtucker@, ok tb@
Diffstat (limited to 'usr.sbin/unbound/testcode/unitmain.c')
-rw-r--r--usr.sbin/unbound/testcode/unitmain.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/unbound/testcode/unitmain.c b/usr.sbin/unbound/testcode/unitmain.c
index e8e7a44c7cb..a42be424e9e 100644
--- a/usr.sbin/unbound/testcode/unitmain.c
+++ b/usr.sbin/unbound/testcode/unitmain.c
@@ -867,7 +867,13 @@ main(int argc, char* argv[])
printf("\tperforms unit tests.\n");
return 1;
}
+ /* Disable roundrobin for the unit tests */
+ RRSET_ROUNDROBIN = 0;
+#ifdef USE_LIBEVENT
+ printf("Start of %s+libevent unit test.\n", PACKAGE_STRING);
+#else
printf("Start of %s unit test.\n", PACKAGE_STRING);
+#endif
#ifdef HAVE_SSL
# ifdef HAVE_ERR_LOAD_CRYPTO_STRINGS
ERR_load_crypto_strings();
@@ -917,7 +923,9 @@ main(int argc, char* argv[])
# ifdef HAVE_EVP_CLEANUP
EVP_cleanup();
# endif
+# if (OPENSSL_VERSION_NUMBER < 0x10100000) && !defined(OPENSSL_NO_ENGINE) && defined(HAVE_ENGINE_CLEANUP)
ENGINE_cleanup();
+# endif
CONF_modules_free();
# endif
# ifdef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA