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:
c97b11f
)
oops. don't use "entropy" directly.
author
Ulf Möller
<ulf@openssl.org>
Sun, 19 Mar 2000 17:20:26 +0000
(17:20 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Sun, 19 Mar 2000 17:20:26 +0000
(17:20 +0000)
crypto/rand/md_rand.c
patch
|
blob
|
history
diff --git
a/crypto/rand/md_rand.c
b/crypto/rand/md_rand.c
index 9f8da22917056fee1071edd08f38ab962a0d580f..35bdbeb73ee3382be30a8b38321c808f7266ef01 100644
(file)
--- a/
crypto/rand/md_rand.c
+++ b/
crypto/rand/md_rand.c
@@
-1,4
+1,4
@@
-
/
* crypto/rand/md_rand.c */
+* crypto/rand/md_rand.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-593,8
+593,8
@@
int RAND_event(UINT iMsg, WPARAM wParam, LPARAM lParam)
dx=lastx-x;
dy=lasty-y;
if (dx != 0 && dy != 0 && dx-lastdx != 0 && dy-lastdy != 0)
-
entropy +=
.2;
- lastx=x,lasty=y;
+
add_entropy=
.2;
+ lastx=x,
lasty=y;
lastdx=dx, lastdy=dy;
}
break;