Fixed HW AES detection.

This commit is contained in:
XMRig 2018-04-15 11:36:48 +07:00
parent 9125b6c251
commit 8716f362f8

View file

@ -157,7 +157,7 @@ bool xmrig::Config::adjust()
}
if (m_aesMode == AES_AUTO) {
m_aesMode = Cpu::hasAES() ? AES_SOFT : AES_SOFT;
m_aesMode = Cpu::hasAES() ? AES_HW : AES_SOFT;
}
if (!m_threads.cpu.empty()) {