mirror of
https://github.com/openssl/openssl.git
synced 2024-12-25 09:53:52 +08:00
oops. don't use "entropy" directly.
This commit is contained in:
parent
c97b11f4b3
commit
f3f3cc0cca
@ -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,7 +593,7 @@ 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;
|
||||
add_entropy=.2;
|
||||
lastx=x, lasty=y;
|
||||
lastdx=dx, lastdy=dy;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user