diff --git a/src/crypto/CryptoNight.cpp b/src/crypto/CryptoNight.cpp index a463c9f9..c4e56678 100644 --- a/src/crypto/CryptoNight.cpp +++ b/src/crypto/CryptoNight.cpp @@ -140,5 +140,9 @@ bool CryptoNight::selfTest(int algo) { _mm_free(ctx->memory); _mm_free(ctx); +# ifndef XMRIG_NO_AEON return memcmp(output, algo == Options::ALGO_CRYPTONIGHT_LITE ? test_output1 : test_output0, (Options::i()->doubleHash() ? 64 : 32)) == 0; +# else + return memcmp(output, test_output0, (Options::i()->doubleHash() ? 64 : 32)) == 0; +# endif }