Increase ENTROPY_NEEDED to support Rijndael's larger key size.
[openssl.git] / crypto / rand / rand_win.c
index a688467e022e8b55a366aae996a3cf58624aeb94..5f71d2da2600eee32f5440bf3c6cfa3473f489ea 100644 (file)
@@ -582,7 +582,8 @@ static void readtimer(void)
        if (have_tsc) {
          __try {
            __asm {
-             rdtsc
+             _emit 0x0f
+             _emit 0x31
              mov cyclecount, eax
              }
            RAND_add(&cyclecount, sizeof(cyclecount), 1);