From: Ulf Möller Date: Sun, 19 Mar 2000 17:20:26 +0000 (+0000) Subject: oops. don't use "entropy" directly. X-Git-Tag: OpenSSL_0_9_5a-beta1~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3f3cc0ccaf528767942e6d151383209394cd7c4;p=oweals%2Fopenssl.git oops. don't use "entropy" directly. --- 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;