mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Enforce minimum version requirements on OpenSSL and Boost
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user