mirror of
https://github.com/wownero/wownero.git
synced 2026-10-25 02:18:33 +01:00
remove unbound
This commit is contained in:
+2
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user