projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0d891
)
replace rdtsc as in HEAD
author
Ulf Möller
<ulf@openssl.org>
Thu, 8 Mar 2001 16:49:03 +0000
(16:49 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Thu, 8 Mar 2001 16:49:03 +0000
(16:49 +0000)
crypto/rand/rand_win.c
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_win.c
b/crypto/rand/rand_win.c
index 8850b9ae916c89f76f89a63d32b67369de5a9feb..106853462552abedac910e2eec95f88133c5e625 100644
(file)
--- 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);