Skip TLS pools if miner built without TLS support.

This commit is contained in:
XMRig 2018-09-17 01:02:17 +03:00
parent 7da9e7a599
commit 1059189e2c
2 changed files with 17 additions and 9 deletions

View file

@ -229,6 +229,12 @@ bool xmrig::CommonConfig::finalize()
pool.adjust(m_algorithm);
if (pool.isValid() && pool.algorithm().isValid()) {
# ifdef XMRIG_NO_TLS
if (pool.isTLS()) {
continue;
}
# endif
m_activePools.push_back(std::move(pool));
}
}