From a23f6457dc308085468858d1c976db0c44d056fb Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Sun, 27 Sep 2015 13:17:20 -0700 Subject: [PATCH] Initialize HTTP client after the config is loaded --- src/ripple/core/impl/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ripple/core/impl/Config.cpp b/src/ripple/core/impl/Config.cpp index 149e828e4..0d1e14b14 100644 --- a/src/ripple/core/impl/Config.cpp +++ b/src/ripple/core/impl/Config.cpp @@ -270,8 +270,6 @@ void Config::setup (std::string const& strConf, bool bQuiet) } } - HTTPClient::initializeSSLContext(*this); - // Update default values load (); { @@ -290,6 +288,8 @@ void Config::setup (std::string const& strConf, bool bQuiet) boost::str (boost::format ("Can not create %s") % dataDir)); legacy ("database_path", boost::filesystem::absolute (dataDir).string ()); + + HTTPClient::initializeSSLContext(*this); } void Config::load ()