diff options
author | Ulf Möller <ulf@openssl.org> | 2000-03-19 17:20:26 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-03-19 17:20:26 +0000 |
commit | f3f3cc0ccaf528767942e6d151383209394cd7c4 (patch) | |
tree | 0c0839f6ae068d8f61788af2890f19283b3321cf /crypto/rand | |
parent | c97b11f4b3e20b92aba6f109a3d89170974360fc (diff) | |
download | openssl-f3f3cc0ccaf528767942e6d151383209394cd7c4.tar.gz |
oops. don't use "entropy" directly.
Diffstat (limited to 'crypto/rand')
-rw-r--r-- | crypto/rand/md_rand.c | 6 |
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; |