aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-06-13 19:23:01 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-06-16 17:21:34 -0400
commit92a6220711b3f98c3daad8a8dcdf13f09ce484fd (patch)
tree53969cd9f404dbcfb7b7bb944a3a4609b5dae61d
parent679240d0e92f71b38cefd23e3d99e8ebf63c2508 (diff)
sanity: hook up sanity checks
-rw-r--r--src/init.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 39453da9c8..f3df3cb375 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -31,6 +31,7 @@
#ifndef WIN32
#include <signal.h>
#endif
+#include "compat/sanity.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
@@ -417,8 +418,8 @@ bool InitSanityCheck(void)
"information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries");
return false;
}
-
- // TODO: remaining sanity checks, see #4081
+ if (!glibc_sanity_test() || !glibcxx_sanity_test())
+ return false;
return true;
}