diff --git a/trunk/c5/cpu.cpp b/trunk/c5/cpu.cpp index c42dd8bc..4d8577e1 100755 --- a/trunk/c5/cpu.cpp +++ b/trunk/c5/cpu.cpp @@ -173,6 +173,9 @@ void DetectX86Features() g_cacheLineSize = GETBYTE(cpuid[2], 0); } + if (!g_cacheLineSize) + g_cacheLineSize = CRYPTOPP_L1_CACHE_LINE_SIZE; + g_x86DetectionDone = true; }