diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index 8850b9ae9..106853462 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -577,7 +577,8 @@ static void readtimer(void) if (have_tsc) { __try { __asm { - rdtsc + _emit 0x0f + _emix 0x31 mov cyclecount, eax } RAND_add(&cyclecount, sizeof(cyclecount), 1);