From 9c3cbe5d7f90afaed77ce4d4310a135b45bbecb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Thu, 8 Mar 2001 16:49:03 +0000 Subject: [PATCH] replace rdtsc as in HEAD --- crypto/rand/rand_win.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index 8850b9ae91..1068534625 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); -- 2.25.1