Browse Source

Merge pull request #1 from MyHush/dev

Dev
pull/94/head
FireMartZ 6 years ago
committed by GitHub
parent
commit
11d5137aff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/net.cpp

6
src/net.cpp

@ -2329,8 +2329,14 @@ static bool TLSInitialize()
// If specified directory can't be used, then setting the default trusted directories
trustedDirs = GetDefaultTrustedDirectories();
#if defined(WIN32) && !defined(TINYFORMAT_ALLOW_WCHAR_STRINGS)
// On win32, boost::filesystem defaults to wchar (as the os filesystem is using wchars).
for (fs::path dir : trustedDirs)
LogPrintf("TLS: trusted directory '%s' will be used\n", dir.string().c_str());
#else
for (fs::path dir : trustedDirs)
LogPrintf("TLS: trusted directory '%s' will be used\n", dir.c_str());
#endif
// Initialization of the server and client contexts
//

Loading…
Cancel
Save