Enforce minimum version requirements on OpenSSL and Boost

This commit is contained in:
Tom Swirly
2014-04-13 20:23:53 -04:00
committed by Vinnie Falco
parent ebcedcbe93
commit feb88c4f7f
4 changed files with 195 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
#include "../../beast/beast/unit_test.h"
#include "../../beast/beast/streams/debug_ostream.h"
#include "../../ripple_basics/system/CheckLibraryVersions.h"
namespace po = boost::program_options;
@@ -163,6 +164,9 @@ runUnitTests (std::string pattern, std::string format)
int run (int argc, char** argv)
{
// Make sure that we have the right OpenSSL and Boost libraries.
version::checkLibraryVersions();
FatalErrorReporter reporter;
using namespace std;
@@ -364,7 +368,7 @@ int run (int argc, char** argv)
{
// No arguments. Run server.
std::unique_ptr <Application> app (make_Application ());
setupServer ();
setupServer ();
startServer ();
}
else