remove unbound

This commit is contained in:
fuwa
2020-04-12 19:35:55 +08:00
parent f30b320d41
commit f516f8ce23
12 changed files with 8 additions and 26 deletions
+2 -4
View File
@@ -54,7 +54,6 @@
#include <fstream>
#endif
#include "unbound.h"
#include "include_base_utils.h"
#include "file_io_utils.h"
@@ -673,6 +672,7 @@ std::string get_nix_version_display_string()
return std::error_code(code, std::system_category());
}
/*
static bool unbound_built_with_threads()
{
ub_ctx *ctx = ub_ctx_create();
@@ -687,6 +687,7 @@ std::string get_nix_version_display_string()
MINFO("libunbound was built " << (with_threads ? "with" : "without") << " threads");
return with_threads;
}
*/
bool sanitize_locale()
{
@@ -796,9 +797,6 @@ std::string get_nix_version_display_string()
OPENSSL_init_ssl(0, NULL);
#endif
if (!unbound_built_with_threads())
MCLOG_RED(el::Level::Warning, "global", "libunbound was not built with threads enabled - crashes may occur");
return true;
}
void set_strict_default_file_permissions(bool strict)