mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
sanity: hook up sanity checks
This commit is contained in:
parent
679240d0e9
commit
92a6220711
@ -31,6 +31,7 @@
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include "compat/sanity.h"
|
||||||
|
|
||||||
#include <boost/algorithm/string/predicate.hpp>
|
#include <boost/algorithm/string/predicate.hpp>
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
@ -417,8 +418,8 @@ bool InitSanityCheck(void)
|
|||||||
"information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries");
|
"information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!glibc_sanity_test() || !glibcxx_sanity_test())
|
||||||
// TODO: remaining sanity checks, see #4081
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user