summaryrefslogtreecommitdiffstats
path: root/crypto/rand/md_rand.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-03-19 17:20:26 +0000
committerUlf Möller <ulf@openssl.org>2000-03-19 17:20:26 +0000
commitf3f3cc0ccaf528767942e6d151383209394cd7c4 (patch)
tree0c0839f6ae068d8f61788af2890f19283b3321cf /crypto/rand/md_rand.c
parentc97b11f4b3e20b92aba6f109a3d89170974360fc (diff)
oops. don't use "entropy" directly.
Diffstat (limited to 'crypto/rand/md_rand.c')
-rw-r--r--crypto/rand/md_rand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index 9f8da22917..35bdbeb73e 100644
--- 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;